Re: Fix inappropriate uses of PG_GETARG_UINT32()

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Fix inappropriate uses of PG_GETARG_UINT32()
Дата
Msg-id fca84885-8fa0-9bb3-3e44-068772c81a91@enterprisedb.com
обсуждение исходный текст
Ответ на Re: Fix inappropriate uses of PG_GETARG_UINT32()  ("Bossart, Nathan" <bossartn@amazon.com>)
Список pgsql-hackers
On 01.12.21 22:59, Bossart, Nathan wrote:
> On 12/1/21, 10:29 AM, "Peter Eisentraut" <peter.eisentraut@enterprisedb.com> wrote:
>> The attached patch fixes this by accepting the argument using
>> PG_GETARG_INT32(), doing some checks, and then casting it to unsigned
>> for the rest of the code.
>>
>> The patch also fixes another inappropriate use in an example in the
>> documentation.  These two were the only inappropriate uses I found,
>> after we had fixed a few recently.
> 
> LGTM

committed



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

Предыдущее
От: "Euler Taveira"
Дата:
Сообщение: Re: row filtering for logical replication
Следующее
От: "Euler Taveira"
Дата:
Сообщение: Re: row filtering for logical replication