Re: [BUGS] date_trunc check constraint causes errors when restoring in a db with a different time zone

2011-01-18 Thread Anthony Manfredi
Thanks, that is helpful. There was a separate reason it didn't appear to be happening before the 8.4 upgrade. I couldn't find this mentioned in the documentation anywhere. Should it be included in the pg_restore section? -Anthony On Sun, Jan 16, 2011 at 11:06 AM, Denish Patel wrote: > Anthony, >

[BUGS] date_trunc check constraint causes errors when restoring in a db with a different time zone

2011-01-15 Thread Anthony Manfredi
When I create a database dump from a database with time zone = UTC (my production machine) and attempt to load it in a database with the 'US/Eastern' time zone (my development machine), pg_restore reports that the dump violates a check constraint. The constraint uses date_trunc('day', ) to ensure t