Re: sequence aliases? - Mailing list pgsql-general

From Greg Stark
Subject Re: sequence aliases?
Date
Msg-id 877jbmgxvi.fsf@stark.xeocode.com
Whole thread Raw
In response to Re: sequence aliases?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: sequence aliases?
List pgsql-general
Tom Lane <tgl@sss.pgh.pa.us> writes:

> My advice to the Rails people would be to fix whatever it is in their
> code that is assuming a particular sequence name, or indeed assuming
> a sequence at all...

Well how else do you find the id of the last inserted record without assuming
a sequence?

--
greg

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: sequence aliases?
Next
From: Chris
Date:
Subject: How to create a virtual column