Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1as0sQ-00041H-85 for pgsql-docs@arkaria.postgresql.org; Mon, 18 Apr 2016 04:33:34 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1as0sP-0000dv-KF for pgsql-docs@arkaria.postgresql.org; Mon, 18 Apr 2016 04:33:33 +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 1as0s3-0000FC-0o for pgsql-docs@postgresql.org; Mon, 18 Apr 2016 04:33:11 +0000 Received: from mail-vk0-x236.google.com ([2607:f8b0:400c:c05::236]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1as0rv-0001vG-Mx for pgsql-docs@postgresql.org; Mon, 18 Apr 2016 04:33:09 +0000 Received: by mail-vk0-x236.google.com with SMTP id e185so207072986vkb.1 for ; Sun, 17 Apr 2016 21:33:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-transfer-encoding; bh=upqchXZHHroBm6ekE1vSBaX7XtXuaDvfFPrEGHKI9RA=; b=mFHvYNWb2A9rS9Kb7XgU3PPwXEzAhR3Nb2bHmKePu6tR3i0x55mcDy4TrIIjj8LbuD nlpGi27gVmn+JWY4/hMmq0oJVyNpvOVxoUPIUqcxkuAFhnWR8CgDEER5kFZqAQtZCEhU IHmm1RQ4bins8wyt1Yilfx6BwcFlBTbBkJdrkbmncfLcszNT/X9gEKatZxvC5kP8dP39 PxGHPQDSDq2GMSHdpkV6VLo7FuRcIqzat39c7ceSKNZnzc/sYW0iG4ulqXUUxsfdFdw+ NnULh9N5hB5iTEQcrjbZahYBdgLcwxY1ymGS3zd83oDllI/a/4kMSp10QTmD+aft2D+C 9u0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-transfer-encoding; bh=upqchXZHHroBm6ekE1vSBaX7XtXuaDvfFPrEGHKI9RA=; b=bYeSLD+0NfzjAi2m1cpzAC7fP2La7YRbVwDkCiHmmf6XQtEKVEW8/9eymYVMe5Hq0M tikmLAzUA2P1ecC48hGlmIQHrNmfmcyYLtNj6wI8qNzLCkM2PC5gyyOkmxVyuWEFboGp J9EE7ks3+89JuM+vYh1//9X4CBFJ4aiedQW9AlkFs1BYKI2jOXKsAHqYzat1+A0YsTjK KRUr+XSgpMRx3ekuZHWYlx8bfwR3Xfiy64AhuItt552hL1fIfPbQgPHEq57c3McF5laI k9x2BNcclbN7E9q35BO8DTT4+jo7TmaF0wXB5XKPiv8xHQDJsbMry4dmDqht7ECCwKBa LpDw== X-Gm-Message-State: AOPr4FUoNhkGQbfbsYLAULgJ8qEclFQnLFvP3NDDTkKk5ouGqGMaHEtJMoRh4qH1RWUkEZ306Mm/DuplgbMCyA== MIME-Version: 1.0 X-Received: by 10.159.35.130 with SMTP id 2mr3461446uao.107.1460953982766; Sun, 17 Apr 2016 21:33:02 -0700 (PDT) Received: by 10.103.118.77 with HTTP; Sun, 17 Apr 2016 21:33:02 -0700 (PDT) In-Reply-To: <571451BF.9070606@gmx.net> References: <568C27BD.8030402@free.fr> <569E992B.20606@free.fr> <571451BF.9070606@gmx.net> Date: Mon, 18 Apr 2016 13:33:02 +0900 Message-ID: Subject: Re: pg_extension_config_dump() function and sequences From: Michael Paquier To: Peter Eisentraut Cc: Philippe BEAUDOIN , pgsql-docs@postgresql.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Pg-Spam-Score: -2.7 (--) 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 Mon, Apr 18, 2016 at 12:17 PM, Peter Eisentraut wrote: > On 01/19/2016 03:14 PM, Philippe BEAUDOIN wrote: >> Le 18/01/2016 07:10, Michael Paquier a =C3=A9crit : >>> 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 Thanks. I completely forgot this patch.. --=20 Michael --=20 Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-docs