Re: setting last_value of sequence

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: John Harrold <jmh17(at)pitt(dot)edu>
Cc: pgsql general list <pgsql-general(at)postgresql(dot)org>
Subject: Re: setting last_value of sequence
Date: 2003-09-03 22:42:31
Message-ID: 200309032242.h83MgVc09530@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

John Harrold wrote:
-- Start of PGP signed section.
> i've run into the situation where i need to set the last_value of a
> sequence. can someone tell me how this is done?

setval()?

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Greg Stark 2003-09-03 22:56:54 Re: Optimizer picks an ineffient plan
Previous Message Andreas Fromm 2003-09-03 22:20:18 table constraint or trigger?