Re: sequences, moving from 8.0.4 to 8.1 ? - Mailing list pgsql-general

From Nicolas Barbier
Subject Re: sequences, moving from 8.0.4 to 8.1 ?
Date
Msg-id b0f3f5a10510211129r681b8ec0vb426a65d1f3afcea@mail.gmail.com
Whole thread Raw
In response to sequences, moving from 8.0.4 to 8.1 ?  (Zlatko Matić <zlatko.matic1@sb.t-com.hr>)
List pgsql-general
On 10/21/05, Zlatko Matić <zlatko.matic1@sb.t-com.hr> wrote:

> I was reading release notes for 8.1 and there is something about changes
> concerning replacing ::text with ::regclass in default clauses. There is a
> query in Release notes, that should be executed to update dump from previos
> versions.
> But, even without it,  I see that all serial fileds in my database were
> updated authomatically during restore from dump ?! I restored only globals
> and schema from dumpall backup...

Even without running the script, your database should keep working.
Are you sure that the expressions are actually not using ::text
anymore? Normally they will keep the ::text, and only to change to the
new system should you use the script. Most people *do* want the new
behavior though, so run it :-).

greetings,
Nicolas

--
Nicolas Barbier
http://www.gnu.org/philosophy/no-word-attachments.html

pgsql-general by date:

Previous
From: Tino Wildenhain
Date:
Subject: Re: scheduled backup
Next
From: Scott Marlowe
Date:
Subject: Re: scheduled backup