]> granicus.if.org Git - postgresql/commit
Use a hash table to store current sequence values.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Fri, 15 Nov 2013 10:29:38 +0000 (12:29 +0200)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Fri, 15 Nov 2013 10:29:38 +0000 (12:29 +0200)
commit21025d4a5322307bcfef1222f497a3aacb2fc79a
treefa84cda915704187acd166d256ed80141fc0aaf8
parent982b82d6b1fd007b9357ce198d13a55544888534
Use a hash table to store current sequence values.

This speeds up nextval() and currval(), when you touch a lot of different
sequences in the same backend.

David Rowley
src/backend/commands/sequence.c