Re: Session variables and C functions

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Session variables and C functions
Дата
Msg-id 28229.1321552964@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Session variables and C functions  (Ivan Voras <ivoras@freebsd.org>)
Ответы Re: Session variables and C functions  (Ivan Voras <ivoras@freebsd.org>)
Список pgsql-general
Ivan Voras <ivoras@freebsd.org> writes:
> Ideally, the C module would create its own "custom variable class,"
> named e.g. "module", then define some setting, e.g. "module.setting".
> The users would then execute an SQL command such as "SET SESSION
> module.setting='something'", and the module would need to pick this up
> in the C function.

Plenty of examples of that in contrib/ ...

            regards, tom lane

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

Предыдущее
От: Siva Palanisamy
Дата:
Сообщение: Please recommend me the best bulk-delete option
Следующее
От: Siva Palanisamy
Дата:
Сообщение: Please recommend me the best bulk-delete option