Re: Global Sequences - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: Global Sequences
Date
Msg-id CA+U5nMKo_nUNUqrfe+QmGWbt-eEUOUhS3sUtDPS_XCNJV84PCA@mail.gmail.com
Whole thread Raw
In response to Re: Global Sequences  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On 18 October 2012 16:15, Tom Lane <tgl@sss.pgh.pa.us> wrote:

> But I'd want to see a pretty
> bulletproof argument why overriding *only* nextval is sufficient
> (and always will be) before accepting a hook for just nextval.  If we
> build an equivalent amount of functionality piecemeal it's going to
> be a lot uglier than if we recognize we need this type of concept
> up front.

We discussed that we need only nextval() and setval() elsewhere, but
adding others is fairly cheap so we can chew on that when we have a
patch to discuss.

-- Simon Riggs                   http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training & Services



pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Global Sequences
Next
From: Alvaro Herrera
Date:
Subject: Re: tuplesort memory usage: grow_memtuples