Re: Questions for experts

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Questions for experts
Дата
Msg-id 24725.1052928133@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Questions for experts  (SEB Menard <smenard@avior.ca>)
Список pgsql-sql
SEB Menard <smenard@avior.ca> writes:
> I want to perform dynamic SQL update in PL/PGSQL... i don't know the
> name of the columns that i want to update. i just want to update a
> complete line... How i can get the names of the columns of a table in
> PL/PGSQL for produce a dynamic  SQL update? 

Use pltcl, not plpgsql.  This sort of thing is easy in pltcl, hard or
impossible in plpgsql.
        regards, tom lane


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

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: bad query performance
Следующее
От: Randall Lucas
Дата:
Сообщение: Re: Type coercion on column in a query