Project

General

Profile

« Previous | Next » 

Revision 8938

bin/my2pg: unpack custom types set('...')

View differences:

my2pg
25 25
-e 's/ (char)\(0\)/ \1/g' \
26 26
-e 's/ datetime/ timestamp/g' \
27 27
-e 's/ ("[^"]*") enum(\([^()]*\))/ \1 text CHECK (\1 in \2)/g' \
28
-e "s/ set\('([^()]*)'\)/ \1/g" \
28 29
"$@"\
29 30
|"$selfDir/my2pg.data"

Also available in: Unified diff