Skip site navigation (1) Skip section navigation (2)

Re: Replacing IDENTITY with lastval()

From: "Ben Trewern" <ben(dot)trewern(at)mowlem(dot)com>
To: pgsql-odbc(at)postgresql(dot)org
Subject: Re: Replacing IDENTITY with lastval()
Date: 2007-06-01 15:10:13
Message-ID: f3pcrn$2tr3$1@news.hub.org (view raw or flat)
Thread:
Lists: pgsql-odbc
> Shouldn't you be using INSERT ... RETURNING .. ;  for this?  Seems like 
> the perfect useage.
>

Sorry to reply to myself but I just looked this up and it is only supported 
from 8.2 onwards. :-(

Ben 



In response to

pgsql-odbc by date

Next:From: Adnan DURSUNDate: 2007-06-01 18:57:52
Subject: Re: LISTEN / NOTIFY Feature
Previous:From: Ben TrewernDate: 2007-06-01 15:00:28
Subject: Re: Replacing IDENTITY with lastval()

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group