public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Ebuild of Postgres-8.3.8 almost a catastrophe
@ 2009-11-09 10:25 Konstantinos Agouros
  2009-11-09 10:50 ` Stroller
  2009-11-09 10:55 ` Volker Armin Hemmann
  0 siblings, 2 replies; 6+ messages in thread
From: Konstantinos Agouros @ 2009-11-09 10:25 UTC (permalink / raw
  To: gentoo-user

Hi,

usually upgrade within a minor version of postgres do not need a pg_dump_all/
and reimport. But the upgrade from 8.3.7 to 8.3.8 does as the configure option
for integer-timestamps changed and thus the newly compiled server can not read
the existing database files.

Regards,

Konstantin
-- 
Dipl-Inf. Konstantin Agouros aka Elwood Blues. Internet: elwood@agouros.de
Altersheimerstr. 1, 81545 Muenchen, Germany. Tel +49 89 69370185
----------------------------------------------------------------------------
"Captain, this ship will not survive the forming of the cosmos." B'Elana Torres



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Ebuild of Postgres-8.3.8 almost a catastrophe
  2009-11-09 10:25 [gentoo-user] Ebuild of Postgres-8.3.8 almost a catastrophe Konstantinos Agouros
@ 2009-11-09 10:50 ` Stroller
  2009-11-09 12:57   ` Graham Murray
  2009-11-09 10:55 ` Volker Armin Hemmann
  1 sibling, 1 reply; 6+ messages in thread
From: Stroller @ 2009-11-09 10:50 UTC (permalink / raw
  To: gentoo-user


On 9 Nov 2009, at 10:25, Konstantinos Agouros wrote:
> ...
> usually upgrade within a minor version of postgres do not need a  
> pg_dump_all/
> and reimport. But the upgrade from 8.3.7 to 8.3.8 does as the  
> configure option
> for integer-timestamps changed and thus the newly compiled server  
> can not read
> the existing database files.

Thanks, dude!

This is very useful to know about.

I assume this is an upstream decision, and may be expected to apply to  
8.3.9, 8.3.10, ... also? I have no reason to "wait and see if this is  
resolved", I should be careful to do a dump and restore next time I  
upgrade?

Cheers,

Stroller.




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Ebuild of Postgres-8.3.8 almost a catastrophe
  2009-11-09 10:25 [gentoo-user] Ebuild of Postgres-8.3.8 almost a catastrophe Konstantinos Agouros
  2009-11-09 10:50 ` Stroller
@ 2009-11-09 10:55 ` Volker Armin Hemmann
  2009-11-11  9:01   ` Konstantinos Agouros
  1 sibling, 1 reply; 6+ messages in thread
From: Volker Armin Hemmann @ 2009-11-09 10:55 UTC (permalink / raw
  To: gentoo-user

On Montag 09 November 2009, Konstantinos Agouros wrote:
> Hi,
> 
> usually upgrade within a minor version of postgres do not need a
>  pg_dump_all/ and reimport. But the upgrade from 8.3.7 to 8.3.8 does as the
>  configure option for integer-timestamps changed and thus the newly
>  compiled server can not read the existing database files.
> 
> Regards,
> 
> Konstantin
> 

have you opened a bug report about this? Or is there one already?



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Ebuild of Postgres-8.3.8 almost a catastrophe
  2009-11-09 10:50 ` Stroller
@ 2009-11-09 12:57   ` Graham Murray
  2009-11-11  9:02     ` Konstantinos Agouros
  0 siblings, 1 reply; 6+ messages in thread
From: Graham Murray @ 2009-11-09 12:57 UTC (permalink / raw
  To: gentoo-user

Stroller <stroller@stellar.eclipse.co.uk> writes:

> On 9 Nov 2009, at 10:25, Konstantinos Agouros wrote:

> I assume this is an upstream decision, and may be expected to apply to
> 8.3.9, 8.3.10, ... also? I have no reason to "wait and see if this is
> resolved", I should be careful to do a dump and restore next time I
> upgrade?

NO. It was not an upstream change. Upstream changed to integer
timestamps by default in 8.4.0, the default did not change between 8.3.7
and 8.3.8. However, in typical gentoo manner, this is configurable by
the pg-intdatetime USE flag, which is not enabled by default.



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Ebuild of Postgres-8.3.8 almost a catastrophe
  2009-11-09 10:55 ` Volker Armin Hemmann
@ 2009-11-11  9:01   ` Konstantinos Agouros
  0 siblings, 0 replies; 6+ messages in thread
From: Konstantinos Agouros @ 2009-11-11  9:01 UTC (permalink / raw
  To: gentoo-user

In <200911091155.35236.volkerarmin@googlemail.com> volkerarmin@googlemail.com (Volker Armin Hemmann) writes:

>On Montag 09 November 2009, Konstantinos Agouros wrote:
>> Hi,
>> 
>> usually upgrade within a minor version of postgres do not need a
>>  pg_dump_all/ and reimport. But the upgrade from 8.3.7 to 8.3.8 does as the
>>  configure option for integer-timestamps changed and thus the newly
>>  compiled server can not read the existing database files.
>> 
>> Regards,
>> 
>> Konstantin
>> 

>have you opened a bug report about this? Or is there one already?
Nope didn't have the time. I needed to get the DB running again quick by:

ebuild .../postgresql-server-8.3.8.ebuild compile, interrupting this
call ./configure manually with --enable-integer-timestamps and then copying
the postgres binary in the approp. position after compiling. This is working.
The next upgrade if ~amd64 is enabled would be 8.4 so I should dump/restore
anyway. But I will do that in an appropriate timeslot.

Regards,

Konstantin

-- 
Dipl-Inf. Konstantin Agouros aka Elwood Blues. Internet: elwood@agouros.de
Altersheimerstr. 1, 81545 Muenchen, Germany. Tel +49 89 69370185
----------------------------------------------------------------------------
"Captain, this ship will not survive the forming of the cosmos." B'Elana Torres



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Ebuild of Postgres-8.3.8 almost a catastrophe
  2009-11-09 12:57   ` Graham Murray
@ 2009-11-11  9:02     ` Konstantinos Agouros
  0 siblings, 0 replies; 6+ messages in thread
From: Konstantinos Agouros @ 2009-11-11  9:02 UTC (permalink / raw
  To: gentoo-user

In <87r5s7q2je.fsf@newton.gmurray.org.uk> graham@gmurray.org.uk (Graham Murray) writes:

>Stroller <stroller@stellar.eclipse.co.uk> writes:

>> On 9 Nov 2009, at 10:25, Konstantinos Agouros wrote:

>> I assume this is an upstream decision, and may be expected to apply to
>> 8.3.9, 8.3.10, ... also? I have no reason to "wait and see if this is
>> resolved", I should be careful to do a dump and restore next time I
>> upgrade?

>NO. It was not an upstream change. Upstream changed to integer
>timestamps by default in 8.4.0, the default did not change between 8.3.7
>and 8.3.8. However, in typical gentoo manner, this is configurable by
>the pg-intdatetime USE flag, which is not enabled by default.
Thanks for this bit of informationn.

-- 
Dipl-Inf. Konstantin Agouros aka Elwood Blues. Internet: elwood@agouros.de
Altersheimerstr. 1, 81545 Muenchen, Germany. Tel +49 89 69370185
----------------------------------------------------------------------------
"Captain, this ship will not survive the forming of the cosmos." B'Elana Torres



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-11-11  9:03 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-09 10:25 [gentoo-user] Ebuild of Postgres-8.3.8 almost a catastrophe Konstantinos Agouros
2009-11-09 10:50 ` Stroller
2009-11-09 12:57   ` Graham Murray
2009-11-11  9:02     ` Konstantinos Agouros
2009-11-09 10:55 ` Volker Armin Hemmann
2009-11-11  9:01   ` Konstantinos Agouros

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox