Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1arzhA-0008CB-4v for pgsql-docs@arkaria.postgresql.org; Mon, 18 Apr 2016 03:17:52 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1arzh9-00082W-Nj for pgsql-docs@arkaria.postgresql.org; Mon, 18 Apr 2016 03:17:51 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1arzgn-0007e6-D7 for pgsql-docs@postgresql.org; Mon, 18 Apr 2016 03:17:29 +0000 Received: from mout.gmx.net ([212.227.15.19]) by makus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.84_2) (envelope-from ) id 1arzgk-0000Pv-JU for pgsql-docs@postgresql.org; Mon, 18 Apr 2016 03:17:28 +0000 Received: from auth1-smtp.messagingengine.com ([66.111.4.227]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0MfF6I-1b7rqw22gs-00OpDu for ; Mon, 18 Apr 2016 05:17:24 +0200 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailauth.nyi.internal (Postfix) with ESMTP id 1AABA20909 for ; Sun, 17 Apr 2016 23:17:23 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute2.internal (MEProxy); Sun, 17 Apr 2016 23:17:23 -0400 X-Sasl-enc: xHZn3ygZ898ZwZwXpUAi0Sv7sQEC6R0vo549kPqtrmZ3 1460949442 Received: from vanquo.pezone.net (c-73-13-66-39.hsd1.pa.comcast.net [73.13.66.39]) by mail.messagingengine.com (Postfix) with ESMTPA id C85A16800DB; Sun, 17 Apr 2016 23:17:22 -0400 (EDT) Subject: Re: pg_extension_config_dump() function and sequences To: Philippe BEAUDOIN , Michael Paquier References: <568C27BD.8030402@free.fr> <569E992B.20606@free.fr> Cc: pgsql-docs@postgresql.org From: Peter Eisentraut Message-ID: <571451BF.9070606@gmx.net> Date: Sun, 17 Apr 2016 23:17:19 -0400 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Icedove/38.6.0 MIME-Version: 1.0 In-Reply-To: <569E992B.20606@free.fr> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K0:nCSlPqH0wQI0a4JLJyAV0Tg8yE6ZptPdf5OPE6KX1HOpAstaqrJ hERkIVumvGh7sr7C538uIz0Nfp5A6MAOohjO5Lp4QSjSD9f8T39H7EAUMMabpHmFM2hpgx1 x7fpfzWkQSRLyiONk2jQLl1e9IBlhMmFGaflhZjk1jnnOSoDCqWO5XdXugw+ralgPc3cSE8 zw+dBNeO/ELGIWrRHdwgQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:rxtZFjQKnpY=:ZQaBkv+oNQezU8SaJKiQg1 nRLh/luZFUeWhqbAiSt4gldKk5glQhCLKrBOpM2zYq93kgpaYPoiL0vDEO3t82k+r4VsazHwj r8CAOfts3dtp4athcDg2bNyFHsrdsIErS+iExusn4q86kbsnRgfXnGwqEiksneZ8tYsGmO/le MEhKjKVJlLg6cAgI6HAg0fYTvqyShLQHzeMH0X2+t7nPwYottPYxKEx8yXQlk42eHeeJGIJKB tYZKTV5wrwMyk80+ff1uV/fz7Le144/q+hikTCS+8uJOElDsBJCvM/TNzO0ay4bbiXzDw3EVH 1Yf3R2yG7toiFn8rtRb+dxRThzU3zhR+0SDQx4iJfHk6vZr5hdvdlNrJufRJ6Khib3p7d7IaA jJnEiXKjTNRAGBPcdyZPlRG7L4xLt1jFar+Uu4uHET5WH8vBUbwCQcr7X0tEtxHR+sSq3R7GW dQVgffO957JtsZDu3I/g3b1pCgQAPOcW7nWozOTIv5M/b49KSxcJticceWq86jsZyMT6o0WqM FZsgHqRsAKrlp4+x7R+8Zx/PcF0c484/nWzKIlAz5X+4RHccz6/glQjBavOoiwMnqe9pLR1zp zszBUOKQ5x70qrERvL/06STxXZ7R1JasZZomJgz54G4rMyfSDxCe8MPZA5m4SplG0kRMNU7BI f42jjTwanI74M/1MtUyF6pTUaEc5TW5c2sDgYplzt4b4zNPdnSyF7dgs3tNAl0E7b43y6mgW0 G+X9+KZKYMive9F96gaGyrSc/qwDzarSG777ac4cRW3FZv8L96+fY6jUSEKQEu05Q5V9RoBN+ 9yuZPaS X-Pg-Spam-Score: -3.6 (---) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-docs Precedence: bulk Sender: pgsql-docs-owner@postgresql.org On 01/19/2016 03:14 PM, Philippe BEAUDOIN wrote: > Le 18/01/2016 07:10, Michael Paquier a écrit : >> On Wed, Jan 6, 2016 at 5:29 AM, Philippe BEAUDOIN >> wrote: >>> The pg_extension_config_dump() function can also register sequences, >>> so that >>> the current properties of the registered sequences are saved by >>> pg_dump and >>> later restored. The function can support sequences either explicitely >>> created with an ALTER SEQUENCE statement or implicitely created when >>> a table >>> contains SERIAL or BIGSERIAL columns. Note that the sequences >>> associated to >>> SERIAL or BIGSERIAL columns of a configuration table need to be >>> registered >>> using the pg_extension_config_dump() function if one wants to restore >>> the >>> properties they had at pg_dump time. >> Instead of a single paragraph, perhaps we could make things more >> generic like in the attached? > It looks much better, indeed. committed -- Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-docs