pgsql: Check for interrupts and stack overflow in TParserGet().

2023-06-24 Thread Tom Lane
Check for interrupts and stack overflow in TParserGet(). TParserGet() recurses for some token types, meaning it's possible to drive it to stack overflow. Since this is a minority behavior, I chose to add the check_stack_depth() call to the two places that recurse rather than doing it during every

pgsql: Check for interrupts and stack overflow in TParserGet().

2023-06-24 Thread Tom Lane
Check for interrupts and stack overflow in TParserGet(). TParserGet() recurses for some token types, meaning it's possible to drive it to stack overflow. Since this is a minority behavior, I chose to add the check_stack_depth() call to the two places that recurse rather than doing it during every

pgsql: Check for interrupts and stack overflow in TParserGet().

2023-06-24 Thread Tom Lane
Check for interrupts and stack overflow in TParserGet(). TParserGet() recurses for some token types, meaning it's possible to drive it to stack overflow. Since this is a minority behavior, I chose to add the check_stack_depth() call to the two places that recurse rather than doing it during every

pgsql: Check for interrupts and stack overflow in TParserGet().

2023-06-24 Thread Tom Lane
Check for interrupts and stack overflow in TParserGet(). TParserGet() recurses for some token types, meaning it's possible to drive it to stack overflow. Since this is a minority behavior, I chose to add the check_stack_depth() call to the two places that recurse rather than doing it during every

pgsql: Check for interrupts and stack overflow in TParserGet().

2023-06-24 Thread Tom Lane
Check for interrupts and stack overflow in TParserGet(). TParserGet() recurses for some token types, meaning it's possible to drive it to stack overflow. Since this is a minority behavior, I chose to add the check_stack_depth() call to the two places that recurse rather than doing it during every

pgsql: Check for interrupts and stack overflow in TParserGet().

2023-06-24 Thread Tom Lane
Check for interrupts and stack overflow in TParserGet(). TParserGet() recurses for some token types, meaning it's possible to drive it to stack overflow. Since this is a minority behavior, I chose to add the check_stack_depth() call to the two places that recurse rather than doing it during every

pgsql: Define OPENSSL_API_COMPAT

2023-06-24 Thread Michael Paquier
Define OPENSSL_API_COMPAT This avoids deprecation warnings from newer OpenSSL versions (3.0.0 in particular). This has been originally applied as 4d3db13 for v14 and newer versions, but not on the older branches out of caution, and this commit closes the gap to remove all these deprecation warnin

pgsql: Define OPENSSL_API_COMPAT

2023-06-24 Thread Michael Paquier
Define OPENSSL_API_COMPAT This avoids deprecation warnings from newer OpenSSL versions (3.0.0 in particular). This has been originally applied as 4d3db13 for v14 and newer versions, but not on the older branches out of caution, and this commit closes the gap to remove all these deprecation warnin

pgsql: Define OPENSSL_API_COMPAT

2023-06-24 Thread Michael Paquier
Define OPENSSL_API_COMPAT This avoids deprecation warnings from newer OpenSSL versions (3.0.0 in particular). This has been originally applied as 4d3db13 for v14 and newer versions, but not on the older branches out of caution, and this commit closes the gap to remove all these deprecation warnin