Revision 4463
Added by Aaron Marcuse-Kubitza about 12 years ago
my2pg | ||
---|---|---|
8 | 8 |
|
9 | 9 |
sed () { "$(which sed)" -"$sedEreFlag" "$@";} |
10 | 10 |
|
11 |
echo 'SET standard_conforming_strings = off;' |
|
11 | 12 |
sed \ |
12 | 13 |
-e 's/^ KEY "([^"]*)" \([^)]*\)/ "\1_index" boolean/' \ |
13 | 14 |
-e "s/\/\*.* (SET NAMES )([0-9A-Za-z_]+) \*\/;/\1'\2';/" \ |
Also available in: Unified diff
my2pg: Prepend 'SET standard_conforming_strings = off;' because this defaults to on starting with PostgreSQL 9.1