prepare, execute & oids

Поиск
Список
Период
Сортировка
От phazon
Тема prepare, execute & oids
Дата
Msg-id 94ffdc2e0608010919q3aca42f7kac0b1dd0992a9a99@mail.gmail.com
обсуждение исходный текст
Ответы Re: prepare, execute & oids
Список pgsql-general
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

В списке pgsql-general по дате отправления:

Предыдущее
От: Vivek Khera
Дата:
Сообщение: Re: pg_restore performance on solaris 10/6
Следующее
От: "Mont Rothstein"
Дата:
Сообщение: Re: Postgres on 64bit Windows Server with WOW64