pgsql: Avoid Assert failure when processing empty statement in aborted

2023-06-21 Thread Tom Lane
Avoid Assert failure when processing empty statement in aborted xact. exec_parse_message() wants to create a cached plan in all cases, including for empty input. The empty-input path does not have a test for being in an aborted transaction, making it possible that plancache.c will fail due to try

pgsql: Avoid Assert failure when processing empty statement in aborted

2023-06-21 Thread Tom Lane
Avoid Assert failure when processing empty statement in aborted xact. exec_parse_message() wants to create a cached plan in all cases, including for empty input. The empty-input path does not have a test for being in an aborted transaction, making it possible that plancache.c will fail due to try

pgsql: Avoid Assert failure when processing empty statement in aborted

2023-06-21 Thread Tom Lane
Avoid Assert failure when processing empty statement in aborted xact. exec_parse_message() wants to create a cached plan in all cases, including for empty input. The empty-input path does not have a test for being in an aborted transaction, making it possible that plancache.c will fail due to try

pgsql: Avoid Assert failure when processing empty statement in aborted

2023-06-21 Thread Tom Lane
Avoid Assert failure when processing empty statement in aborted xact. exec_parse_message() wants to create a cached plan in all cases, including for empty input. The empty-input path does not have a test for being in an aborted transaction, making it possible that plancache.c will fail due to try

pgsql: Avoid Assert failure when processing empty statement in aborted

2023-06-21 Thread Tom Lane
Avoid Assert failure when processing empty statement in aborted xact. exec_parse_message() wants to create a cached plan in all cases, including for empty input. The empty-input path does not have a test for being in an aborted transaction, making it possible that plancache.c will fail due to try

pgsql: Avoid Assert failure when processing empty statement in aborted

2023-06-21 Thread Tom Lane
Avoid Assert failure when processing empty statement in aborted xact. exec_parse_message() wants to create a cached plan in all cases, including for empty input. The empty-input path does not have a test for being in an aborted transaction, making it possible that plancache.c will fail due to try