Re: Tighten pg_get_object_address argument checking

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Tighten pg_get_object_address argument checking
Дата
Msg-id cae11966-002e-982f-0cbe-65a8f2679699@enterprisedb.com
обсуждение исходный текст
Ответ на Re: Tighten pg_get_object_address argument checking  (Amit Kapila <amit.kapila16@gmail.com>)
Список pgsql-hackers
On 21.09.22 12:01, Amit Kapila wrote:
> On Tue, Sep 20, 2022 at 11:14 PM Peter Eisentraut
> <peter.eisentraut@enterprisedb.com> wrote:
>>
>> For publication schemas (OBJECT_PUBLICATION_NAMESPACE) and user
>> mappings (OBJECT_USER_MAPPING), pg_get_object_address() checked the
>> array length of the second argument, but not of the first argument.
>> If the first argument was too long, it would just silently ignore
>> everything but the first argument.  Fix that by checking the length of
>> the first argument as well.
> 
> LGTM.

Committed, thanks for checking.




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

Предыдущее
От: Ashutosh Bapat
Дата:
Сообщение: Re: confirmed_flush_lsn shows LSN of the data that has not yet been received by the logical subscriber.
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Mingw task for Cirrus CI