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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-odbc by date

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