currval sequence memory storage?

From: chris(dot)gamble(at)CPBINC(dot)com
To: pgsql-general(at)postgresql(dot)org
Subject: currval sequence memory storage?
Date: 2002-07-19 20:45:58
Message-ID: 00CA54A79070D411A9E20090273CEF1C14F3FD@inet1.cpbinc.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I am using jdbc against postgres 7.2.1. My tables are all designed with a
serial field as the prmiary key. When I perform inserts, I have found
through FAQ's that I can use currval to get the last value used for the
sequence that is unique to my process. My questions is, when does the memory
storage used for this currval get released and what triggers its release? If
it is never released, does that cause the process to consume excessive
memory after several inserts across multiple tables?

Thanks,

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2002-07-19 20:57:26 Re: currval sequence memory storage?
Previous Message grant 2002-07-19 20:21:30 Re: Free space mapping (was Re: Multi-Versions and Vacuum)