Re: Is a SERIAL column a "black box", or not?

From: Christopher Kings-Lynne <chris(dot)kings-lynne(at)calorieking(dot)com>
To: "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
Cc: Svenne Krap <svenne(at)krap(dot)dk>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Is a SERIAL column a "black box", or not?
Date: 2006-05-02 01:41:41
Message-ID: 4456B8D5.8030804@calorieking.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message elein 2006-05-02 01:43:00 Re: Is a SERIAL column a "black box", or not?
Previous Message Tom Lane 2006-05-01 23:55:43 Re: Is a SERIAL column a "black box", or not?