pgsql: Use a hash table to store current sequence values.

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Use a hash table to store current sequence values.
Date: 2013-11-15 10:31:35
Message-ID: E1VhGgZ-0002J9-5g@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/21025d4a5322307bcfef1222f497a3aacb2fc79a

Modified Files
--------------
src/backend/commands/sequence.c | 71 +++++++++++++++++++--------------------
1 file changed, 35 insertions(+), 36 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2013-11-15 12:24:51 pgsql: Fix bogus hash table creation.
Previous Message Alvaro Herrera 2013-11-14 20:27:33 Re: SSL renegotiation