Thread: pg_dump compatibility between 7.3 and 7.2?

pg_dump compatibility between 7.3 and 7.2?

From
Mario Weilguni
Date:
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.xdumps 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
incompatibleregarding timestamps? Or is this simply a problem with my current locale? 

Best regards,Mario Weilguni





Re: pg_dump compatibility between 7.3 and 7.2?

From
"Christopher Kings-Lynne"
Date:
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
> 



Re: pg_dump compatibility between 7.3 and 7.2?

From
Peter Eisentraut
Date:
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



Re: pg_dump compatibility between 7.3 and 7.2?

From
Mario Weilguni
Date:
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!