Revision 8003
Added by Aaron Marcuse-Kubitza almost 12 years ago
my2pg | ||
---|---|---|
10 | 10 |
|
11 | 11 |
sed () { "$(which sed)" -"$sedEreFlag" "$@";} |
12 | 12 |
|
13 |
echo 'SET standard_conforming_strings = off;' |
|
14 |
echo 'SET escape_string_warning = off;' |
|
15 | 13 |
sed \ |
16 | 14 |
-e 's/ UNIQUE KEY ("[^"]*")/ \/*CONSTRAINT \1 *\/UNIQUE/g' \ |
17 | 15 |
-e 's/ UNIQUE KEY/ UNIQUE/g' \ |
Also available in: Unified diff
my2pg: Removed SETs for standard_conforming_strings, escape_string_warning because these are also prepended by my2pg.data, which this script's output is piped to