How can I use a name of table in attribute of function, I try PREPARE ...

Поиск
Список
Период
Сортировка
От Benoît Bournon
Тема How can I use a name of table in attribute of function, I try PREPARE ...
Дата
Msg-id 3ED351D5.3060408@adelis.com
обсуждение исходный текст
Список pgsql-sql
I can do that on PostgreSQL 7.3 ??



Is it possible to do that ? or must I upgrade my server ??


PREPARE q1(text) FROM SELECT * FROM pg_tables WHERE tablename = $1 ;
EXECUTE q1 USING 'client' ;

DEALLOCATE q1 ;




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

Предыдущее
От: "Morten Tryfoss"
Дата:
Сообщение: Re: Index scan never executed?
Следующее
От: "Danny Su"
Дата:
Сообщение: generic return for functions