Search Postgresql Archives

Re: plpgsql and insert

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx> wrote in message 
news:45EB4F76.6000702@xxxxxxxxxxxxxxxxxx
> 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
> 




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux