Bookmarks

Yahoo Gmail Google Facebook Delicious Twitter Reddit Stumpleupon Myspace Digg

Search queries

w2ksp4.exe, WwwxxXdbf, procmail "FROM_MAILER" patch, Use of assignment to $[ is deprecated at /usr/local/sbin/apxs line 86. , wwwxxx vim, mysql closing table and opening table, 800c5000, setgid operation not permitted, pciehp: acpi_pciehprm on IBM, WWWXXX.DBF

Links

XODOX
Impressum

#1: sequence owned by backwards compatability

Posted on 2007-12-12 05:20:42 by Wouter Pels

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


---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Report this message

#2: Re: sequence owned by backwards compatability

Posted on 2007-12-12 06:06:35 by Joshua Drake

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



---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Report this message

#3: Re: sequence owned by backwards compatability

Posted on 2007-12-12 09:31:46 by Wouter Pels

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.


---------------------------(end of broadcast)---------------------------
TIP 7: You can help support the PostgreSQL project by donating at

http://www.postgresql.org/about/donate

Report this message

#4: Re: sequence owned by backwards compatability

Posted on 2007-12-12 09:59:12 by DBA

--=-5XpD8dsp6ZITOm30xrHb
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

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.

--=-5XpD8dsp6ZITOm30xrHb
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.10.0">
</HEAD>
<BODY>
Hi Experts,<BR>
<BR>
I am very new to Postgres. Can any body tell me the steps how to install 8.2.5 on fedora core 6.<BR>
<BR>
thanks in advance.
</BODY>
</HTML>

--=-5XpD8dsp6ZITOm30xrHb--

Report this message

#5: Re: sequence owned by backwards compatability

Posted on 2007-12-16 20:48:14 by Usama Dar

------=_Part_5668_6533715.1197834494936
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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

------=_Part_5668_6533715.1197834494936
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

<br><br><div class="gmail_quote">On Dec 12, 2007 1:59 PM, DBA &lt;<a href="mailto:s.borse@direction.biz">s.borse@direction.biz</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">






<div>
Hi Experts,<br>
<br>
I am very new to Postgres. Can any body tell me the steps how to install 8.2.5 on fedora core 6.</div></blockquote><div><br>Manual is your friend? <br>&nbsp;<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><br>
<br>
thanks in advance.
</div>

</blockquote></div><br><br clear="all"><br>-- <br>Usama Munir Dar <a href="http://linkedin.com/in/usamadar">http://linkedin.com/in/usamadar</a><br>Consultant Architect<br>Cell:+92 321 5020666<br>Skype: usamadar <br>

------=_Part_5668_6533715.1197834494936--

Report this message

#6: Re: sequence owned by backwards compatability

Posted on 2007-12-17 00:42:55 by Scott Marlowe

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.

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Report this message