Re: Getting last insert value - Mailing list pgsql-sql

From Yasir Malik
Subject Re: Getting last insert value
Date
Msg-id Pine.LNX.4.58.0311151242390.11047@heineken.cs.stevens-tech.edu
Whole thread Raw
In response to Re: Getting last insert value  (Guillaume LELARGE <gleu@wanadoo.fr>)
List pgsql-sql
Guillaume,
Thank you very much for your response.
Yasir

On Sat, 15 Nov 2003, Guillaume LELARGE wrote:

> Date: Sat, 15 Nov 2003 17:41:41 +0000
> From: Guillaume LELARGE <gleu@wanadoo.fr>
> To: pgsql-sql@postgresql.org
> Subject: Re: [SQL] Getting last insert value
>
> Le Samedi 15 Novembre 2003 16:40, vous avez écrit :
> > Doing a "select currval() from my_table" after your insert should work.
> >
> Actually, this is
>     select currval('my_sequence')
> Sorry about this.
>
> > For more details, see
> > http://www.postgresql.org/docs/7.3/interactive/functions-sequence.html
>
>
> --
> Guillaume
>   <!-- http://absfr.tuxfamily.org/
>        http://pgsql-fr.tuxfamily.org/ -->.
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 9: the planner will ignore your desire to choose an index scan if your
>       joining column's datatypes do not match
>


pgsql-sql by date:

Previous
From: drumeng@yahoo.com (Jim Drummey)
Date:
Subject: Substrings by Regular Expression
Next
From: Stephan Szabo
Date:
Subject: Re: Substrings by Regular Expression