AW: [HACKERS] Getting OID in psql of recent insert

Поиск
Список
Период
Сортировка
От Zeugswetter Andreas SEV
Тема AW: [HACKERS] Getting OID in psql of recent insert
Дата
Msg-id 219F68D65015D011A8E000006F8590C603FDC181@sdexcsrv1.f000.d0188.sd.spardat.at
обсуждение исходный текст
Ответы Re: AW: [HACKERS] Getting OID in psql of recent insert  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: [HACKERS] Getting OID in psql of recent insert  (SAKAIDA Masaaki <sakaida@psn.co.jp>)
Re: AW: [HACKERS] Getting OID in psql of recent insert  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
> testdb=> \set singlestep on
> testdb=> \set sql_interpol '#'
> testdb=> \set foo 'pg_class'
> testdb=> select * from #foo#;

This is great, but may I object to the syntax ?
The standard sql way to use host variables seems to be:
select * from :foo where id = :id

There will always be the problem with conflicting operators,
and this one syntax, already needed by ecpg, it is hard enough.

Andreas


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

Предыдущее
От: Lamar Owen
Дата:
Сообщение: Re: postgres RPM build on Suse linux 6.2
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: AW: [HACKERS] Getting OID in psql of recent insert