Search Postgresql Archives

prepare, execute & oids

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

 



Hello,

i've this kind of query:

PREPARE preparedInsert (varchar) AS
  INSERT INTO my_table (my_field)
  VALUES ($1);
  ');

and i use it with:

EXECUTE preparedInsert ('test');


I juste want to get the OID of the line inserted. Does anyone know how to do it ?

Thanks,

Phazon

[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