Sequences not created, bug in pg_dump?

From: "Leonardo M(dot) Ramé" <l(dot)rame(at)griensu(dot)com>
To: PostgreSql-general <pgsql-general(at)postgresql(dot)org>
Subject: Sequences not created, bug in pg_dump?
Date: 2015-03-19 15:43:09
Message-ID: 550AEE8D.3080008@griensu.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-general


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?.

--
Leonardo M. Ramé
http://leonardorame.blogspot.com

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2015-03-19 16:09:23 Re: Sequences not created, bug in pg_dump?
Previous Message Alban Hertroys 2015-03-19 15:36:42 Re: Installation Size showing huge size in postgres installed on windows os