diff options
author | Peter Eisentraut | 2024-07-02 07:24:04 +0000 |
---|---|---|
committer | Peter Eisentraut | 2024-07-02 07:29:26 +0000 |
commit | 9c2e660b07fc16bdd79c25047cce6cde2acb3f37 (patch) | |
tree | 27f142eef907af6f054d62316127432a9941f016 /src/backend/commands/functioncmds.c | |
parent | d35cd061998434747c0d1c0f6f2aa1f736f0edb4 (diff) |
Limit max parameter number with MaxAllocSize
MaxAllocSize puts an upper bound on the largest possible parameter
number ($268435455). Use that limit instead of INT_MAX to report that
no parameters exist beyond that point instead of reporting an error
about the maximum allocation size being exceeded.
Author: Erik Wienhold <ewie@ewie.name>
Discussion: https://www.postgresql.org/message-id/flat/5d216d1c-91f6-4cbe-95e2-b4cbd930520c@ewie.name
Diffstat (limited to 'src/backend/commands/functioncmds.c')
0 files changed, 0 insertions, 0 deletions