Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lhGAP-0000DC-Kp for pgsql-bugs@arkaria.postgresql.org; Thu, 13 May 2021 18:34:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lhGAN-0003x3-Ds for pgsql-bugs@arkaria.postgresql.org; Thu, 13 May 2021 18:34:35 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lhGAN-0003wv-7T for pgsql-bugs@lists.postgresql.org; Thu, 13 May 2021 18:34:35 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lhGAK-0007O1-UQ for pgsql-bugs@lists.postgresql.org; Thu, 13 May 2021 18:34:34 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 14DIYTYq1579765; Thu, 13 May 2021 14:34:29 -0400 From: Tom Lane To: Alvaro Herrera cc: Jaime Acevedo , pgsql-bugs@lists.postgresql.org Subject: Re: BUG #17008: pg_dump doesn't dump a sequence with bigint type In-reply-to: <20210513182931.GA20675@alvherre.pgsql> References: <20210513182931.GA20675@alvherre.pgsql> Comments: In-reply-to Alvaro Herrera message dated "Thu, 13 May 2021 14:29:31 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1579762.1620930869.1@sss.pgh.pa.us> Date: Thu, 13 May 2021 14:34:29 -0400 Message-ID: <1579763.1620930869@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Alvaro Herrera 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