Re: dynamic table/col names in plpgsql

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: dynamic table/col names in plpgsql
Дата
Msg-id 20070626132426.GA14962@svana.org
обсуждение исходный текст
Ответ на dynamic table/col names in plpgsql  ("gary jefferson" <garyjefferson123@gmail.com>)
Список pgsql-general
On Sat, Jun 23, 2007 at 09:43:01PM -0600, gary jefferson wrote:
> Is there a way to use a variable as the name of a table or column in
> plpgsql?

No, plpgsql is statically typed, it can't handle the possiblity of the
types of variables changing. Use a more dynamic
language(perl/tcl/python/etc...)

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

Вложения

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

Предыдущее
От: "Gurjeet Singh"
Дата:
Сообщение: Re: a JOIN on same table, but 'slided over'
Следующее
От: Rafal Pietrak
Дата:
Сообщение: Re: a JOIN on same table, but 'slided over'