Re: table with a variable name???

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: table with a variable name???
Дата
Msg-id 200409111639.51006.peter_e@gmx.net
обсуждение исходный текст
Ответ на table with a variable name???  ("William Herring" <william.herring@spgenetics.com>)
Список pgsql-general
William Herring wrote:
> I would like to create a temporary table with a variable name.  For
> example, the name of the table might be based on some form of
> datetime and a constant text.  I have looked through the logs, but
> have not found any direction on this.  Any ideas?

You will have to compute the table name in your client application or a
server-side procedure, paste it into the command string, and execute
that.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/


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

Предыдущее
От: "Karl O. Pinc"
Дата:
Сообщение: Re: Obtaining the Julian Day from a date
Следующее
От: Tom Lane
Дата:
Сообщение: Re: What is the postgres version of mysql's "ON DUPLICATE KEY"