Re: Is this possible? - Mailing list pgsql-sql

From Roberto Mello
Subject Re: Is this possible?
Date
Msg-id 20010511112417.A20524@cc.usu.edu
Whole thread Raw
In response to Is this possible?  ("Wei Weng" <wweng@kencast.com>)
List pgsql-sql
On Tue, May 08, 2001 at 09:16:56PM -0400, Wei Weng wrote:
> I have a table that has a serial for primary key. Is it possible to get
> the new available primary key right after I insert a row of new entry?
Yeah. Se the documentation on triggers.
-Roberto
-- 
+----| http://fslc.usu.edu USU Free Software & GNU/Linux Club |------+ Roberto Mello - Computer Science, USU -
http://www.brasileiro.net      http://www.sdl.usu.edu - Space Dynamics Lab, Developer    
 
"Data! I thought you were dead!" "No, Sir. I rebooted."


pgsql-sql by date:

Previous
From: Roberto Mello
Date:
Subject: Re: Postgres function library
Next
From: Kaare Rasmussen
Date:
Subject: Re: number of days in a month