Re: Sequences not created, bug in pg_dump?

Поиск
Список
Период
Сортировка
От Adrian Klaver
Тема Re: Sequences not created, bug in pg_dump?
Дата
Msg-id 550AF4B3.408@aklaver.com
обсуждение исходный текст
Ответ на Sequences not created, bug in pg_dump?  ("Leonardo M. Ramé" <l.rame@griensu.com>)
Ответы Re: Sequences not created, bug in pg_dump?  ("Leonardo M. Ramé" <l.rame@griensu.com>)
Список pgsql-general
On 03/19/2015 08:43 AM, "Leonardo M. Ramé" wrote:
>
> Hi, I'm creating a database dump excluding one table and found only the
> sequences created implicitly (using serial type) are created when I
> restore the dump.
>
> The command I use is: pg_dump -T table_to_be_excluded mydb
>
> I understand all related objects to the table to be excluded are not
> dumpled, but why I don't get any CREATE SEQUENCE command in my dump?.
>

What version of Postgres?

If I follow you have CREATEd sequence(s) using CREATE SEQUENCE and they
do not show up in the dump file?

It works for me here on 9.3.


--
Adrian Klaver
adrian.klaver@aklaver.com


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

Предыдущее
От: "Leonardo M. Ramé"
Дата:
Сообщение: Sequences not created, bug in pg_dump?
Следующее
От: "Leonardo M. Ramé"
Дата:
Сообщение: Re: Sequences not created, bug in pg_dump?