Re: using sequences

From: Erik Price <eprice(at)ptc(dot)com>
To: Bruno Wolff III <bruno(at)wolff(dot)to>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: using sequences
Date: 2003-06-13 21:29:01
Message-ID: 3EEA421D.9000001@ptc.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Bruno Wolff III wrote:

> If you are trying to do this you probably don't really understand sequences.
> There aren't any common good reasons for trying to get the value of a sequence
> before you have generated a value in the current session.

It seems you're right that I dont understand them. However, I don't
have any intent of calling it like this (without having generated a
value), rather, I was simply curious and playing around with the
commandline client, and following some instructions I had seen in
another post. I didn't realize that it needed to be "activated" for the
current session.

Erik

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message scott.marlowe 2003-06-13 21:33:04 Re: full featured alter table?
Previous Message Erik Price 2003-06-13 21:28:33 Re: using sequences