Re: function attributes

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: function attributes
Дата
Msg-id AANLkTikUejTiL38oC7_e2zWV8g-G_wEZ9QfRABFCySCA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: function attributes  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
On Sat, Dec 11, 2010 at 9:28 PM, Andrew Dunstan <andrew@dunslane.net> wrote:
> On 12/11/2010 09:16 PM, Robert Haas wrote:
>>
>> Well, you could set that GUC (plperl.pass_binary_bytea) on a function
>> without changing any syntax on at all.
>>
>> CREATE FUNCTION name (args) ... SET plperl.pass_binary_bytea = true;
>
> Oh, good point. I'd forgotten about that. I'll experiment and see if I can
> break it :-)

I guess one problem with that approach is that the scoping of the
parameter change will be dynamic rather than lexical.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: unlogged tables
Следующее
От: Robert Haas
Дата:
Сообщение: Re: keeping a timestamp of the last stats reset (for a db, table and function)