Re: [HACKERS] proposal: session server side variables

Поиск
Список
Период
Сортировка
От Fabien COELHO
Тема Re: [HACKERS] proposal: session server side variables
Дата
Msg-id alpine.DEB.2.20.1612290950590.4911@lancre
обсуждение исходный текст
Ответ на Re: [HACKERS] proposal: session server side variables  (Pavel Stehule <pavel.stehule@gmail.com>)
Ответы Re: [HACKERS] proposal: session server side variables  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-hackers
Please, could you remove the part of the mail you are not responding to 
and just keep the relevant part?

>> Whatever the features and syntax, you can always shoot yourself in the
>> foot.
>
> I disagree

Hmmm... I have succeeded in shotting myself in the foot with possibly 
every feature of every language I have used. This is called experience... 
in the end you do know how NOT to do things:-)

> - some concepts are more robust, other less.

Sure. The use-case under discussion is about ONE session variable holding 
an expensive to compute security status which can be consulted by other 
functions. I think that probably one can have it right with both 
approaches, even if it is on the second try...

-- 
Fabien.



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

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: [HACKERS] [PATCH] Fix minor race in commit_ts SLRU truncation vs lookups
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: [HACKERS] proposal: session server side variables