Re: Fix inappropriate uses of PG_GETARG_UINT32()
Nathan Bossart <bossartn@amazon.com>
From: "Bossart, Nathan" <bossartn@amazon.com>
To: Peter Eisentraut <peter.eisentraut@enterprisedb.com>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2021-12-01T21:59:24Z
Lists: pgsql-hackers
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 Nathan
Commits
-
Fix inappropriate uses of PG_GETARG_UINT32()
- e9e63b7022dd 15.0 landed