Re: Row Level Security − leakproof-ness and performance implications

Поиск
Список
Период
Сортировка
От Chapman Flack
Тема Re: Row Level Security − leakproof-ness and performance implications
Дата
Msg-id 60db8234-b2c8-75b1-ea27-2495ea6cbef4@anastigmatix.net
обсуждение исходный текст
Ответ на Re: Re: Row Level Security − leakproof-ness and performance implications  (Joshua Brindle <joshua.brindle@crunchydata.com>)
Список pgsql-hackers
On 2/28/19 11:03 AM, Joshua Brindle wrote:

> How is leakproof defined WRT Postgres? Generally speaking a 1 bit

From the CREATE FUNCTION reference page:

LEAKPROOF indicates that the function has no side effects. It reveals no
information about its arguments other than by its return value. For
example, a function which *throws an error message for some argument
values but not others*, or which includes the argument values in any
error message, is not leakproof.

(*emphasis* mine.)

Regards,
-Chap


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

Предыдущее
От: Laurenz Albe
Дата:
Сообщение: Re: Add exclusive backup deprecation notes to documentation
Следующее
От: Joe Conway
Дата:
Сообщение: Re: Row Level Security − leakproof-ness and performance implications