pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: Jaime Acevedo <jacevedo@we-techs.com>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #17008: pg_dump doesn't dump a sequence with bigint type
Date: Thu, 13 May 2021 14:34:29 -0400
Message-ID: <1579763.1620930869@sss.pgh.pa.us> (raw)
In-Reply-To: <20210513182931.GA20675@alvherre.pgsql>
References: <20210513182931.GA20675@alvherre.pgsql>

Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
> Hmm, I think --exclude-tables should exclude tables only, not sequences.
> And it does behave like that for me, in a quick test with version 10.

Probably your original thought is right: the sequence isn't properly owned
by the table column, so it doesn't get dumped in a selective dump.

			regards, tom lane





view thread (9+ messages)  latest in thread

Message-ID: <1579763.1620930869@sss.pgh.pa.us>
Permalink:  ../1579763.1620930869@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1579763.1620930869@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, alvherre@alvh.no-ip.org, jacevedo@we-techs.com, pgsql-bugs@lists.postgresql.org
  Subject: Re: BUG #17008: pg_dump doesn't dump a sequence with bigint type
  In-Reply-To: <1579763.1620930869@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox