Re: Partial dump backup -T parameter and sequence incorrect inclusion

From: Sergey Konoplev <gray(dot)ru(at)gmail(dot)com>
To: Daniel Vázquez <daniel2d2art(at)gmail(dot)com>
Cc: pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Partial dump backup -T parameter and sequence incorrect inclusion
Date: 2013-06-27 20:38:21
Message-ID: CAL_0b1su64uBiK9GyZrr-NRBOMM6agetOk=61doX0i22mdAAVQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Thu, Jun 27, 2013 at 9:47 AM, Daniel Vázquez <daniel2d2art(at)gmail(dot)com> wrote:
> Postgres 9.1
>
> pg_backup with -T parameter excluding dump explicit table. Then when
> pg_restore any object of excluded table are restored EXCEPT the sequence.
> That's a problem because if use -c to clean try to drop existent sequence
> object and then raises dependency error.

Please, show both pg_dump and pg_restore commands exactly like you
use, and the error message you get.

--
Kind regards,
Sergey Konoplev
PostgreSQL Consultant and DBA

Profile: http://www.linkedin.com/in/grayhemp
Phone: USA +1 (415) 867-9984, Russia +7 (901) 903-0499, +7 (988) 888-1979
Skype: gray-hemp
Jabber: gray(dot)ru(at)gmail(dot)com

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Magnus Hagander 2013-06-27 21:26:29 Re: Ubuntu Precise and auto startup of pg databases
Previous Message Sergey Konoplev 2013-06-27 20:25:04 Re: pg_upgrade / postgis issue