Re: BUG #2307: Buckup and sequences in DEFAULT part - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #2307: Buckup and sequences in DEFAULT part
Date
Msg-id 25046.1141917124@sss.pgh.pa.us
Whole thread Raw
In response to BUG #2307: Buckup and sequences in DEFAULT part  ("Giza Kamil" <kamilg@zeto.olsztyn.pl>)
List pgsql-bugs
Kamil Giza <kamilg@zeto.olsztyn.pl> writes:
> It's a problem because after restore, server is looking for sequence in
> schema "public" but sequence was created in schema "schema".

No, it doesn't.  regclass constants don't work that way; the sequence is
identified by OID, and isn't subject to search path issues at all.  You
are assuming a problem that does not exist anymore.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #2303: UPDATE from manual is incorrect
Next
From: "Yury Don"
Date:
Subject: BUG #2309: Wrong string comparison