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 1lhG5b-0008Lb-SV for pgsql-bugs@arkaria.postgresql.org; Thu, 13 May 2021 18:29:39 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lhG5a-0001rN-PY for pgsql-bugs@arkaria.postgresql.org; Thu, 13 May 2021 18:29:38 +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 1lhG5a-0001rF-Ih for pgsql-bugs@lists.postgresql.org; Thu, 13 May 2021 18:29:38 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lhG5Y-0007Ko-L9 for pgsql-bugs@lists.postgresql.org; Thu, 13 May 2021 18:29:38 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 0D6685C00B0; Thu, 13 May 2021 14:29:35 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Thu, 13 May 2021 14:29:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=EMIpIolsGumm+5TZgOiTNkvuSfp7IxToINmmhCKC0EY=; b=Eki5G/UL 2V6suUJW6V/NYggqAmXGgRkFAOjZGS6vVc/7+DnuNn205659up5BEVn4r8p3HFIN PZwplw608kNyhHbYW7QzV4eip1r/D14nNKM+NbANhiGHhSIs+iZaJyydvy65alkr 0MtxWXrgCbZLbtCdox1KiI2z77obf18bLMkfY3lxUpfMMaS9XC5JNYuaX8M6Owru You+0/Drw+gWo1I0e94b2b4pMTkknYn2VRuWkQTjyjR0fcthXtPJqtHDwnBiU6gd gdplkjYHAZ4XwxeD7U2K9+LQqxD+wPVwZz3Qq26YWwGvRShfF4TN30w9egXrs7iQ 9OsuqcFPWaU39A== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdehgedguddvhecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvuffkgggtugfgjggfsehtkeertddtredunecuhfhrohhmpeetlhhv rghrohcujfgvrhhrvghrrgcuoegrlhhvhhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorh hgqeenucggtffrrghtthgvrhhnpeeufffhjeeiueeuffegvddukeegledtveeivdeiueef ieeivefgteehueefteehvdenucfkphepudeltddrleehrdduledrleehnecuvehluhhsth gvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghlvhhhvghrrhgvsegr lhhvhhdrnhhoqdhiphdrohhrgh X-ME-Proxy: Received: from perhan.alvh.no-ip.org (unknown [190.95.19.95]) by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 13 May 2021 14:29:34 -0400 (EDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id BDBC82A0ADC; Thu, 13 May 2021 14:29:31 -0400 (-04) Date: Thu, 13 May 2021 14:29:31 -0400 From: Alvaro Herrera To: Jaime Acevedo Cc: Tom Lane , pgsql-bugs@lists.postgresql.org Subject: Re: BUG #17008: pg_dump doesn't dump a sequence with bigint type Message-ID: <20210513182931.GA20675@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2021-May-13, Jaime Acevedo wrote: > Sorry, I made a mistake at the moment to copy & paste the sequences. > > But this finally the problems was the filter to do dump, when I use > --exclude-table option with pattern projects_historydata_* for some reason > the sequences was excluded finally I used the pattern > projects_historydata_[0-9]* to exclude only the tables that I want to > exclude. Ah, that makes sense. > I don´t know if that behavior is right. 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. What version of Postgres are you using? -- Álvaro Herrera 39°49'30"S 73°17'W "Estoy de acuerdo contigo en que la verdad absoluta no existe... El problema es que la mentira sí existe y tu estás mintiendo" (G. Lama)