Using a variable as tablename ins plpgsql?

Поиск
Список
Период
Сортировка
От Glyn Astill
Тема Using a variable as tablename ins plpgsql?
Дата
Msg-id 600119.19604.qm@web23605.mail.ird.yahoo.com
обсуждение исходный текст
Ответы Re: Using a variable as tablename ins plpgsql?  ("Pavel Stehule" <pavel.stehule@gmail.com>)
Re: Using a variable as tablename ins plpgsql?  ("Fernando Moreno" <azazel.7@gmail.com>)
Список pgsql-general
Hi people,

Hopefully this is a quickie, I want to pass in a table name to a plpgsql function and then use that table name in my
queries.

Is EXECUTE the only way to do this?

Ta
Glyn







Send instant messages to your online friends http://uk.messenger.yahoo.com

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

Предыдущее
От: Teodor Sigaev
Дата:
Сообщение: Re: index scan leads to result that is different from sec scan after upgrading to 8.3.4
Следующее
От: "Pavel Stehule"
Дата:
Сообщение: Re: Using a variable as tablename ins plpgsql?