Re: Is a SERIAL column a "black box", or not? - Mailing list pgsql-hackers

From Christopher Kings-Lynne
Subject Re: Is a SERIAL column a "black box", or not?
Date
Msg-id 4456B8D5.8030804@calorieking.com
Whole thread Raw
In response to Re: Is a SERIAL column a "black box", or not?  ("Jim C. Nasby" <jnasby@pervasive.com>)
List pgsql-hackers
> Sure, but there's no reason that would couldn't allow that with a true
> black-box SERIAL, either. In  fact, you can do it today if you want,
> just by creating a wrapper around nextval(pg_get_serial_sequence()).

Or just use lastval()

Chris



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Is a SERIAL column a "black box", or not?
Next
From: elein
Date:
Subject: Re: Is a SERIAL column a "black box", or not?