Re: setting last_value of sequence - Mailing list pgsql-general

From Bruce Momjian
Subject Re: setting last_value of sequence
Date
Msg-id 200309032242.h83MgVc09530@candle.pha.pa.us
Whole thread Raw
In response to setting last_value of sequence  (John Harrold <jmh17@pitt.edu>)
List 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@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-general by date:

Previous
From: Doug McNaught
Date:
Subject: Re: Query
Next
From: Andreas Fromm
Date:
Subject: Re: inserting via "on insert" rule