Re: [8.0.3] Not dumping all sequences ...

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [8.0.3] Not dumping all sequences ...
Дата
Msg-id 24887.1123019836@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [8.0.3] Not dumping all sequences ...  ("Marc G. Fournier" <scrappy@postgresql.org>)
Ответы Re: [8.0.3] Not dumping all sequences ...  ("Marc G. Fournier" <scrappy@postgresql.org>)
Список pgsql-hackers
"Marc G. Fournier" <scrappy@postgresql.org> writes:
> On Tue, 2 Aug 2005, Tom Lane wrote:
>> Given the name, this could be a SERIAL column's sequence --- which is
>> not dumped as a separate object by pg_dump, since recreating the SERIAL
>> column ought to create it.

> One of their functions does an insert into the table with 
> "nextval('xa_url_id_seq'::text)" as part of the INSERT itself, so they 
> aren't using that field as a SERIAL type ... just checked the CREATE TABLE 
> for teh table, and its defined as a "bigint NOT NULL" ...

Hmm, odd.  But maybe there are traces of a SERIAL linkage?  What do
you get from

select * from pg_depend where objid = 'xa_url_id_seq'::regclass;
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Marc G. Fournier"
Дата:
Сообщение: Re: [8.0.3] Not dumping all sequences ...
Следующее
От: "Marc G. Fournier"
Дата:
Сообщение: Re: [8.0.3] Not dumping all sequences ...