Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aGsOe-0000IK-SG for pgsql-docs@arkaria.postgresql.org; Wed, 06 Jan 2016 18:01:20 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aGsOe-0006YS-F1 for pgsql-docs@arkaria.postgresql.org; Wed, 06 Jan 2016 18:01:20 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aGYEt-0005x0-A1 for pgsql-docs@postgresql.org; Tue, 05 Jan 2016 20:29:55 +0000 Received: from smtp5-g21.free.fr ([212.27.42.5]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aGYEq-0002zM-40 for pgsql-docs@postgresql.org; Tue, 05 Jan 2016 20:29:54 +0000 Received: from [192.168.1.3] (unknown [82.233.212.24]) by smtp5-g21.free.fr (Postfix) with ESMTP id 80C3BD48096 for ; Tue, 5 Jan 2016 21:28:55 +0100 (CET) From: Philippe BEAUDOIN To: pgsql-docs@postgresql.org Subject: pg_extension_config_dump() function and sequences Message-ID: <568C27BD.8030402@free.fr> Date: Tue, 5 Jan 2016 21:29:49 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.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 Hi all, The page "Packaging Related Objects into an Extension" has a third chapter dealing with "Extension Configuration Tables". A final paragraph would be useful to explain that: 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. Sorry for my English. This has to be probably reworded a bit. Best regards. Philippe Beaudoin. -- Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-docs