Re: Stored procedure for generation next sequence value

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: voipfc(at)gmail(dot)com
Cc: voipfc(at)googlemail(dot)com, pgsql-general(at)postgresql(dot)org
Subject: Re: Stored procedure for generation next sequence value
Date: 2007-10-30 00:17:14
Message-ID: 20071029171714.03f120ef@scratch
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, 29 Oct 2007 23:59:59 +0000
"Frank Church" <voipfc(at)googlemail(dot)com> wrote:

> Is there a built in function for retrieving the next value of a
> sequence and updating the sequence counter?
>

The docs are amazing:

http://www.postgresql.org/docs/current/static/functions-sequence.html

Sincerely,

Joshua D. Drake

> ---------------------------(end of
> broadcast)--------------------------- TIP 3: Have you checked our
> extensive FAQ?
>
> http://www.postgresql.org/docs/faq
>

--

=== The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 24x7/Emergency: +1.800.492.2240
PostgreSQL solutions since 1997 http://www.commandprompt.com/
UNIQUE NOT NULL
Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate
PostgreSQL Replication: http://www.commandprompt.com/products/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ow Mun Heng 2007-10-30 01:42:37 Raid Chunk Sizes for DSS type DB
Previous Message Michael Glaesemann 2007-10-30 00:16:07 Re: Stored procedure for generation next sequence value