Re: Sequence Access Method WIP
Craig Ringer <craig@2ndquadrant.com>
From: Craig Ringer <craig@2ndquadrant.com>
To: Petr Jelinek <petr@2ndquadrant.com>,
Heikki Linnakangas <hlinnakangas@vmware.com>,
Andres Freund <andres@2ndquadrant.com>
Cc: Simon Riggs <simon@2ndQuadrant.com>,
PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2014-11-08T11:15:03Z
Lists: pgsql-hackers
On 11/08/2014 12:35 AM, Petr Jelinek wrote: >> >> Do you think it'd be simple to provide a blocking, transactional >> sequence allocator via this API? i.e. gapless sequences, much the same >> as typically implemented with SELECT ... FOR UPDATE on a counter table. >> >> It might be more digestible standalone, and would be a handy contrib/ >> example extension demonstrating use of the API. >> > > Yes I think that's doable (once we iron out the API we can agree on). Cool; I think that'd be an interesting self-contained example that'd also have real-world uses ... and provide a nice succinct way to answer those semi-regular "how do I create a sequence that doesn't have holes" questions. -- Craig Ringer http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services
Commits
-
Add missing gss option to msvc config template
- 3063e7a84026 9.6.0 cited