On Sat, Apr 22, 2006 at 05:37:28PM +0200, Gevik Babakhani wrote:
>
> > This one means when you do a \dt of a sequence, add a column to display
> > the current value.
> >
>
> Perhaps this one will be tricky because you will never be sure to get
> the last sequence number when you query for it. The number could change
> the moment the query is finished.
So could the structure of a table or the definition of a function.
That's just a fact of life. Doesn't change the fact that it'd be
useful. You need nextval() to actually get a useful value for
queries...
Have a nice day,
--
Martijn van Oosterhout <kleptog@svana.org> http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.