pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Melvin Davidson <melvin6925@gmail.com>
Cc: DiasCosta <diascosta@diascosta.org>
Cc: Łukasz Jarych <jaryszek@gmail.com>
Cc: pgsql-general@postgresql.org >> PG-General Mailing List <pgsql-general@postgresql.org>
Subject: Re: Cloning schemas
Date: Wed, 4 Jul 2018 16:00:42 -0700
Message-ID: <e0269452-dde8-23e9-09c7-21bc95fc022e@aklaver.com> (raw)
In-Reply-To: <CANu8Fiz29cR-vjOGP3bDHHT0-pVVg1B_UnFAdX+ttMfvaHOkfg@mail.gmail.com>
References: <CAGv31ofHAE49iTQ4_Q_AiTduoVscQWXKfZanYU0yQP8HyxPJvQ@mail.gmail.com>
	<63460.1530538220@sss.pgh.pa.us>
	<CAGv31od+cuXFttW4FmVGPBJBvjbNBpwgeuhNKfDmqLGqyQMY-Q@mail.gmail.com>
	<c941ac40-83cb-9d7b-e0f5-82f48f98cd95@aklaver.com>
	<CAGv31odxm_oYK77sdByTh=i-u-5_13CCz2nGTie4mgnovcdM2Q@mail.gmail.com>
	<CANu8FizWiVke-W7j2a-JMKxVwhFUOGjAUnX756Jt5jOJdFnD5A@mail.gmail.com>
	<CAGv31odHuHpY3N8U3eyzOK8qCjdoxu78gTovuxKoKNsyb+5QOA@mail.gmail.com>
	<CANu8FizwHA5qDrS8do2kVR7oEcCCdy4V7HXHd9OLgHo23YXztA@mail.gmail.com>
	<dc9c8e39-6b3a-dce3-c51b-c31ef0dffb4e@diascosta.org>
	<CANu8FiyK5SN0Dq_AmoNOQ0+HCR5PoTKmun42+=VV1Q4QqDa4bA@mail.gmail.com>
	<96ddac7e-7bb9-8aaf-48fb-daba295cefa5@aklaver.com>
	<CANu8Fiz29cR-vjOGP3bDHHT0-pVVg1B_UnFAdX+ttMfvaHOkfg@mail.gmail.com>

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




view thread (35+ messages)  latest in thread

Message-ID: <e0269452-dde8-23e9-09c7-21bc95fc022e@aklaver.com>
Permalink:  ../e0269452-dde8-23e9-09c7-21bc95fc022e@aklaver.com/
Also on:    postgresql.org/message-id/e0269452-dde8-23e9-09c7-21bc95fc022e@aklaver.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, melvin6925@gmail.com, diascosta@diascosta.org, jaryszek@gmail.com
  Subject: Re: Cloning schemas
  In-Reply-To: <e0269452-dde8-23e9-09c7-21bc95fc022e@aklaver.com>
  References: <CAGv31ofHAE49iTQ4_Q_AiTduoVscQWXKfZanYU0yQP8HyxPJvQ@mail.gmail.com> <63460.1530538220@sss.pgh.pa.us> <CAGv31od+cuXFttW4FmVGPBJBvjbNBpwgeuhNKfDmqLGqyQMY-Q@mail.gmail.com> <c941ac40-83cb-9d7b-e0f5-82f48f98cd95@aklaver.com> <CAGv31odxm_oYK77sdByTh=i-u-5_13CCz2nGTie4mgnovcdM2Q@mail.gmail.com> <CANu8FizWiVke-W7j2a-JMKxVwhFUOGjAUnX756Jt5jOJdFnD5A@mail.gmail.com> <CAGv31odHuHpY3N8U3eyzOK8qCjdoxu78gTovuxKoKNsyb+5QOA@mail.gmail.com> <CANu8FizwHA5qDrS8do2kVR7oEcCCdy4V7HXHd9OLgHo23YXztA@mail.gmail.com> <dc9c8e39-6b3a-dce3-c51b-c31ef0dffb4e@diascosta.org> <CANu8FiyK5SN0Dq_AmoNOQ0+HCR5PoTKmun42+=VV1Q4QqDa4bA@mail.gmail.com> <96ddac7e-7bb9-8aaf-48fb-daba295cefa5@aklaver.com> <CANu8Fiz29cR-vjOGP3bDHHT0-pVVg1B_UnFAdX+ttMfvaHOkfg@mail.gmail.com> <e0269452-dde8-23e9-09c7-21bc95fc022e@aklaver.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox