Hi,

I've tried to evaluate the compatibility of the current CVS version to our current 7.2.1 version, and noticed that 7.2.x dumps are not compatible with 7.3, not even in cleartext format. 
Timestamps in 7.2.x are this format: 2002-07-04 15:19:11.363562+02
7.3 expects a timestamp per default in this format: 2002-09-02 08:51:27,223455+02

I found no way to import this database, experimenting with "set datestyle ..." did not help. Will 7.3 really be that incompatible regarding timestamps? Or is this simply a problem with my current locale?

Best regards,
	Mario Weilguni




Mon, 2 Sep 2002 08:55:08 +0200
Mario Weilguni <mweilguni@sime.com>
pg_dump compatibility between 7.3 and 7.2?
Looks like a locale problem to me, Mario...

That comma is a non-USA (or oz, uk, canada) decimal separator...

Chris

> -----Original Message-----
> From: pgsql-hackers-owner@postgresql.org
> [mailto:pgsql-hackers-owner@postgresql.org]On Behalf Of Mario Weilguni
> Sent: Monday, 2 September 2002 2:55 PM
> To: Hackers
> Subject: [HACKERS] pg_dump compatibility between 7.3 and 7.2?
> 
> 
> Hi,
> 
> I've tried to evaluate the compatibility of the current CVS 
> version to our current 7.2.1 version, and noticed that 7.2.x 
> dumps are not compatible with 7.3, not even in cleartext format. 
> Timestamps in 7.2.x are this format: 2002-07-04 15:19:11.363562+02
> 7.3 expects a timestamp per default in this format: 2002-09-02 
> 08:51:27,223455+02
> 
> I found no way to import this database, experimenting with "set 
> datestyle ..." did not help. Will 7.3 really be that incompatible 
> regarding timestamps? Or is this simply a problem with my current locale?
> 
> Best regards,
> 	Mario Weilguni
> 
> 
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
> 
> http://www.postgresql.org/users-lounge/docs/faq.html
> 


Mon, 2 Sep 2002 14:57:30 +0800
"Christopher Kings-Lynne" <chriskl@familyhealth.com.au>
Re: pg_dump compatibility between 7.3 and 7.2?
Mario Weilguni writes:

> Timestamps in 7.2.x are this format: 2002-07-04 15:19:11.363562+02
> 7.3 expects a timestamp per default in this format: 2002-09-02 08:51:27,223455+02

If you're not running the reallly latest 7.3 tip, update and try again.
Something related to this was fixed recently.

-- 
Peter Eisentraut   peter_e@gmx.net


Tue, 3 Sep 2002 00:26:31 +0200 (CEST)
Peter Eisentraut <peter_e@gmx.net>
Re: pg_dump compatibility between 7.3 and 7.2?
Am Dienstag, 3. September 2002 00:26 schrieb Peter Eisentraut:
> Mario Weilguni writes:
> > Timestamps in 7.2.x are this format: 2002-07-04 15:19:11.363562+02
> > 7.3 expects a timestamp per default in this format: 2002-09-02
> > 08:51:27,223455+02
>
> If you're not running the reallly latest 7.3 tip, update and try again.
> Something related to this was fixed recently.

It seems to work now, thanks. My last update was yesterday morning, so I thought it was fresh enough.

Thanks!

Tue, 3 Sep 2002 09:00:22 +0200
Mario Weilguni <mweilguni@sime.com>
Re: pg_dump compatibility between 7.3 and 7.2?