pg_dump compatibility between 7.3 and 7.2?

Started by Mario Weilguniover 23 years ago4 messages
#1Mario Weilguni
mweilguni@sime.com

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

#2Christopher Kings-Lynne
chriskl@familyhealth.com.au
In reply to: Mario Weilguni (#1)
Re: 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

Show quoted text

-----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

#3Peter Eisentraut
peter_e@gmx.net
In reply to: Mario Weilguni (#1)
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

#4Mario Weilguni
mweilguni@sime.com
In reply to: Peter Eisentraut (#3)
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!