dynamic table/col names in plpgsql

Поиск
Список
Период
Сортировка
От gary jefferson
Тема dynamic table/col names in plpgsql
Дата
Msg-id 62ad745a0706232047g7443a87o79d2430730ce85cc@mail.gmail.com
обсуждение исходный текст
Ответы Re: dynamic table/col names in plpgsql  (Michael Glaesemann <grzm@seespotcode.net>)
Re: dynamic table/col names in plpgsql  (Steve Atkins <steve@blighty.com>)
Список pgsql-general
Is there a way to use a variable as the name of a table or column in plpgsql?

This might be a simple question, but I can't find the answer in the
docs.  http://www.postgresql.org/docs/8.2/interactive/plpgsql-declarations.html
hints that there are data types that correspond to table/column, but I
don't see them listed here
http://www.postgresql.org/docs/8.2/interactive/datatype.html ...

Also, I assume that once I figure out the right datatypes, I can
assign to them from functions like substring()?

Thanks,
Gary

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

Предыдущее
От: Michael Glaesemann
Дата:
Сообщение: Re: Table Names
Следующее
От: Michael Glaesemann
Дата:
Сообщение: Re: dynamic table/col names in plpgsql