pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedsequence owned by backwards compatability
6+ messages / 5 participants
[nested] [flat]
* sequence owned by backwards compatability
@ 2007-12-12 04:20 Wouter Pels <wouter@spmapplications.com>
0 siblings, 1 reply; 6+ messages in thread
From: Wouter Pels @ 2007-12-12 04:20 UTC (permalink / raw)
To: pgsql-admin
We were running into problems today when we tried to import a 8.2.4 dump
in a 8.1.5 database. It had to do with the new way of assigning
sequences to colums, which confused 8.1.5 I didn't expect that at the
time of configuration, and currently is down-grading to 8.1.x not an
easy option anymore.
Is there any trick to work arround this issue ? some kind of switch for
backwards compatability ?
have thought of parsing the dump through a convert script to translate
the SET OWNED to an ALTER COLUMN,
but if there may be an easier way to achieve the same result.
thanks in advance,
regards
wouter
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: sequence owned by backwards compatability
@ 2007-12-12 05:06 Joshua D. Drake <jd@commandprompt.com>
parent: Wouter Pels <wouter@spmapplications.com>
0 siblings, 1 reply; 6+ messages in thread
From: Joshua D. Drake @ 2007-12-12 05:06 UTC (permalink / raw)
To: wouter@spmapplications.com; +Cc: pgsql-admin
Wouter Pels wrote:
> We were running into problems today when we tried to import a 8.2.4 dump
> in a 8.1.5 database. It had to do with the new way of assigning
> sequences to colums, which confused 8.1.5 I didn't expect that at the
> time of configuration, and currently is down-grading to 8.1.x not an
> easy option anymore.
>
> Is there any trick to work arround this issue ? some kind of switch for
> backwards compatability ?
No switch but you could restore the schema separately from the data.
Then you could edit the schema to fit 8.1 commands before restore.
Out of curiosity.. why are you doing this? :)
Joshua D. Drake
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: sequence owned by backwards compatability
@ 2007-12-12 08:31 Wouter Pels <wouter@spmapplications.com>
parent: Joshua D. Drake <jd@commandprompt.com>
0 siblings, 1 reply; 6+ messages in thread
From: Wouter Pels @ 2007-12-12 08:31 UTC (permalink / raw)
To: pgsql-admin
Joshua D. Drake wrote:
> Wouter Pels wrote:
>
>> We were running into problems today when we tried to import a 8.2.4 dump
>> in a 8.1.5 database. It had to do with the new way of assigning
>> sequences to colums, which confused 8.1.5 I didn't expect that at the
>> time of configuration, and currently is down-grading to 8.1.x not an
>> easy option anymore.
>>
>> Is there any trick to work arround this issue ? some kind of switch for
>> backwards compatability ?
>
>
> No switch but you could restore the schema separately from the data.
> Then you could edit the schema to fit 8.1 commands before restore.
>
Don't like the idea of manualy editing the schema, seems like a waste of
time, specialy knowing that the situation will pop up more then once
I guess a data only restore will work on existing 8.1.x databases, but
then there is the hassle of truncating tables and disabling/enabling
triggers and all the the other yet unknown trouble.
> Out of curiosity.. why are you doing this? :)
We are working with multiple configurations from 8.0.x to 8.2.x, its
imposible to upgrade them all at the same time.
Dump and restore of the complete database ..was.. allways the easiest
way to get all data across.
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: sequence owned by backwards compatability
@ 2007-12-12 08:59 DBA <s.borse@direction.biz>
parent: Wouter Pels <wouter@spmapplications.com>
0 siblings, 2 replies; 6+ messages in thread
From: DBA @ 2007-12-12 08:59 UTC (permalink / raw)
To: pgsql-admin
Hi Experts,
I am very new to Postgres. Can any body tell me the steps how to install
8.2.5 on fedora core 6.
thanks in advance.
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: sequence owned by backwards compatability
@ 2007-12-16 19:48 Usama Dar <munir.usama@gmail.com>
parent: DBA <s.borse@direction.biz>
1 sibling, 0 replies; 6+ messages in thread
From: Usama Dar @ 2007-12-16 19:48 UTC (permalink / raw)
To: s.borse@direction.biz; +Cc: pgsql-admin
On Dec 12, 2007 1:59 PM, DBA <s.borse@direction.biz> wrote:
> Hi Experts,
>
> I am very new to Postgres. Can any body tell me the steps how to install
> 8.2.5 on fedora core 6.
>
Manual is your friend?
>
>
> thanks in advance.
>
--
Usama Munir Dar http://linkedin.com/in/usamadar
Consultant Architect
Cell:+92 321 5020666
Skype: usamadar
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: sequence owned by backwards compatability
@ 2007-12-16 23:42 Scott Marlowe <scott.marlowe@gmail.com>
parent: DBA <s.borse@direction.biz>
1 sibling, 0 replies; 6+ messages in thread
From: Scott Marlowe @ 2007-12-16 23:42 UTC (permalink / raw)
To: s.borse@direction.biz; +Cc: pgsql-admin
On Dec 12, 2007 2:59 AM, DBA <s.borse@direction.biz> wrote:
>
> Hi Experts,
>
> I am very new to Postgres. Can any body tell me the steps how to install
> 8.2.5 on fedora core 6.
Don't start a new thread by replying to an old one, start a new thread
fresh... Anyway
fc6 is EOLed, you should really look at going to fc7 or 8. But...
just download the redhat rpms from the postgresql site, and in the
same directory as them do something like this:
sudo rpm --install postgresql*rpm
and that should do it.
^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2007-12-16 23:42 UTC | newest]
Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2007-12-12 04:20 sequence owned by backwards compatability Wouter Pels <wouter@spmapplications.com>
2007-12-12 05:06 ` Joshua D. Drake <jd@commandprompt.com>
2007-12-12 08:31 ` Wouter Pels <wouter@spmapplications.com>
2007-12-12 08:59 ` DBA <s.borse@direction.biz>
2007-12-16 19:48 ` Usama Dar <munir.usama@gmail.com>
2007-12-16 23:42 ` Scott Marlowe <scott.marlowe@gmail.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox