Re: sequence aliases?

From: Greg Stark <gsstark(at)mit(dot)edu>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: CSN <cool_screen_name90001(at)yahoo(dot)com>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: sequence aliases?
Date: 2005-11-06 05:15:45
Message-ID: 877jbmgxvi.fsf@stark.xeocode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Martijn van Oosterhout 2005-11-06 12:14:34 Re: How to create a virtual column
Previous Message Tom Lane 2005-11-06 03:35:06 Re: sequence aliases?