Project

General

Profile

« Previous | Next » 

Revision 7536

my2pg*: Replace '0000-00-00 00:00:00' with '-infinity'

View differences:

my2pg.data
11 11
echo 'SET standard_conforming_strings = off;'
12 12
echo 'SET escape_string_warning = off;'
13 13
sed \
14
-e "s/'0000-00-00'/'-infinity'/g" \
14
-e "s/'0000-00-00( 00:00:00)?'/'-infinity'/g" \
15 15
"$@"

Also available in: Unified diff