Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1faqlW-0000fQ-NG for pgsql-general@arkaria.postgresql.org; Wed, 04 Jul 2018 23:00:50 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1faqlU-0001pB-JF for pgsql-general@arkaria.postgresql.org; Wed, 04 Jul 2018 23:00:48 +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.89) (envelope-from ) id 1faqlU-0001p4-7x for pgsql-general@lists.postgresql.org; Wed, 04 Jul 2018 23:00:48 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1faqlR-0003Ks-N0 for pgsql-general@postgresql.org; Wed, 04 Jul 2018 23:00:47 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 7107E21E07; Wed, 4 Jul 2018 19:00:44 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Wed, 04 Jul 2018 19:00:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=7BnkceVyO6/Sw5Oo/vTQivQgriqyk B1UI9PBKk8PPDg=; b=EvrbBkDvo7X6SimyHfIjdsfYj9TGRb93jFt6dJujp/NCu XBAeFLeV1oMB8nwub/EsEsRNeNnARBZLERZAlEtwL9NdfKCsQ23n09RF4WTlIUAF 0EiE9TBfm+dMjWc6sfUowre5GrECoTnXQ7K4r+iokdSwDzNhCB7Qkv1QbBP84/ed bAVTaZWsdo7D/9uMQEQ5ftMSPYwCsaXRWLRHsG3rRtG94kkGw1J4f8b0acRLl8oS zi/FqVldfEScxvtz04qThyc5La47GlDBN2wv1SIkv4xWn1t1i2RGvKu6uEB/bbM+ T/jy8wFUQ5u7N9Td4/mb+E9Yikd0MH3c5TRejhIVg== 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:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=7Bnkce VyO6/Sw5Oo/vTQivQgriqykB1UI9PBKk8PPDg=; b=YCDERQv9WuXKS2+yFc1Ywj yz0TROnE3ScngSYV6GXPgmxkRHxqKheP0AN2Wpxhvs6LPjLzOy0e4Nyl98bO4ZEn IDUdyD/gsLNYQr/vSlbp0NWE2HcAxiMO5Aw/fGI2kgy8LSrVy9jSuXzEFAZcwHMN cVjkbYMZGrfowmRZWMHM2Ogyx77pHv8whgo9oQIY55k1IOmNDIK3M8oPLfIMrfY9 kxmjDkIrjSaNzB9lM2NTUzrpLNdwL+v9fAp66puu8sWPUoaELaHI34RUUXgIJ7OD 2k6n8AWN+Boayge5XxtO3d19rlnhVx+qASBnmPjQSBuyvfES/hmLc7l/N14GL7Zg == X-ME-Proxy: X-ME-Sender: Received: from [192.168.1.3] (unknown [71.212.134.181]) by mail.messagingengine.com (Postfix) with ESMTPA id 372E81025D; Wed, 4 Jul 2018 19:00:43 -0400 (EDT) Subject: Re: Cloning schemas To: Melvin Davidson Cc: DiasCosta , =?UTF-8?Q?=c5=81ukasz_Jarych?= , "pgsql-general@postgresql.org >> PG-General Mailing List" References: <63460.1530538220@sss.pgh.pa.us> <96ddac7e-7bb9-8aaf-48fb-daba295cefa5@aklaver.com> From: Adrian Klaver Message-ID: Date: Wed, 4 Jul 2018 16:00:42 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 07/04/2018 03:53 PM, Melvin Davidson wrote: > > > > > The problem is, AFAICS, none of the changes induced were really > necessary or increased performance. The folks that wanted transactional ALTER SEQUENCE might disagree:): https://www.postgresql.org/docs/10/static/release-10.html "Move sequences' metadata fields into a new pg_sequence system catalog (Peter Eisentraut) A sequence relation now stores only the fields that can be modified by nextval(), that is last_value, log_cnt, and is_called. Other sequence properties, such as the starting value and increment, are kept in a corresponding row of the pg_sequence catalog. ALTER SEQUENCE updates are now fully transactional, implying that the sequence is locked until commit. The nextval() and setval() functions remain nontransactional. ... " > > > *Melvin Davidson** > Maj. Database & Exploration Specialist** > Universe Exploration Command – UXC*** > Employment by invitation only! -- Adrian Klaver adrian.klaver@aklaver.com