Re: plpgsql and insert - Mailing list pgsql-general

From Ben Trewern
Subject Re: plpgsql and insert
Date
Msg-id esh003$id0$1@news.hub.org
Whole thread Raw
In response to plpgsql and insert  (Jamie Deppeler <jamie@doitonce.net.au>)
List pgsql-general
Depending on what client side library you are using you could use the
RETURNING clause, see the docs:
http://www.postgresql.org/docs/8.2/static/sql-insert.html

Regards,

Ben
"Jamie Deppeler" <jamie@doitonce.net.au> wrote in message
news:45EB4F76.6000702@doitonce.net.au...
> Hi,
>
> Have a quick question is possible to record a primary from a insert
> stament
>
> eg
>
> xprimary :=  insert into schema.table(.,.,.,.) VALUES (,,,,);
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: Don't 'kill -9' the postmaster
>



pgsql-general by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: date format
Next
From: "Joshua D. Drake"
Date:
Subject: Re: date format