pg.ddx.io pgpool-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgpool: Fix SQLSTATE for Bind referencing a nonexistent prepared statem 6+ messages / 1 participants [nested] [flat]
* pgpool: Fix SQLSTATE for Bind referencing a nonexistent prepared statem @ 2026-10-21 01:55 Taiki Koshino <koshino@sraoss.co.jp> 0 siblings, 0 replies; 6+ messages in thread From: Taiki Koshino @ 2026-10-21 01:55 UTC (permalink / raw) To: pgpool-committers@lists.postgresql.org Fix SQLSTATE for Bind referencing a nonexistent prepared statement. When Bind referenced a nonexistent prepared statement, Pgpool-II returned SQLSTATE XX000 (internal_error), whereas PostgreSQL returned 26000 (invalid_sql_statement_name). The error messages were the same, but the SQLSTATE values were inconsistent. Change the SQLSTATE to 26000 to match PostgreSQL. The error message and connection recovery behavior remain unchanged. Author: Taiki Koshino koshino@sraoss.co.jp Discussion: https://github.com/pgpool/pgpool2/issues/180 Backpatch-through: v4.3 Branch ------ master Details ------- https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=ccb1c06acd1f2480a4445549265e8de362390... Modified Files -------------- src/protocol/pool_proto_modules.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgpool: Fix SQLSTATE for Bind referencing a nonexistent prepared statem @ 2026-10-21 01:56 Taiki Koshino <koshino@sraoss.co.jp> 0 siblings, 0 replies; 6+ messages in thread From: Taiki Koshino @ 2026-10-21 01:56 UTC (permalink / raw) To: pgpool-committers@lists.postgresql.org Fix SQLSTATE for Bind referencing a nonexistent prepared statement. When Bind referenced a nonexistent prepared statement, Pgpool-II returned SQLSTATE XX000 (internal_error), whereas PostgreSQL returned 26000 (invalid_sql_statement_name). The error messages were the same, but the SQLSTATE values were inconsistent. Change the SQLSTATE to 26000 to match PostgreSQL. The error message and connection recovery behavior remain unchanged. Author: Taiki Koshino koshino@sraoss.co.jp Discussion: https://github.com/pgpool/pgpool2/issues/180 Backpatch-through: v4.3 Branch ------ V4_7_STABLE Details ------- https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=6990ed0582e6b9d0803aca77fa23f1c7d4a90... Modified Files -------------- src/protocol/pool_proto_modules.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgpool: Fix SQLSTATE for Bind referencing a nonexistent prepared statem @ 2026-10-21 01:57 Taiki Koshino <koshino@sraoss.co.jp> 0 siblings, 0 replies; 6+ messages in thread From: Taiki Koshino @ 2026-10-21 01:57 UTC (permalink / raw) To: pgpool-committers@lists.postgresql.org Fix SQLSTATE for Bind referencing a nonexistent prepared statement. When Bind referenced a nonexistent prepared statement, Pgpool-II returned SQLSTATE XX000 (internal_error), whereas PostgreSQL returned 26000 (invalid_sql_statement_name). The error messages were the same, but the SQLSTATE values were inconsistent. Change the SQLSTATE to 26000 to match PostgreSQL. The error message and connection recovery behavior remain unchanged. Author: Taiki Koshino koshino@sraoss.co.jp Discussion: https://github.com/pgpool/pgpool2/issues/180 Backpatch-through: v4.3 Branch ------ V4_6_STABLE Details ------- https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=9a73634f04df83f1165d3906313759dbac918... Modified Files -------------- src/protocol/pool_proto_modules.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgpool: Fix SQLSTATE for Bind referencing a nonexistent prepared statem @ 2026-10-21 01:57 Taiki Koshino <koshino@sraoss.co.jp> 0 siblings, 0 replies; 6+ messages in thread From: Taiki Koshino @ 2026-10-21 01:57 UTC (permalink / raw) To: pgpool-committers@lists.postgresql.org Fix SQLSTATE for Bind referencing a nonexistent prepared statement. When Bind referenced a nonexistent prepared statement, Pgpool-II returned SQLSTATE XX000 (internal_error), whereas PostgreSQL returned 26000 (invalid_sql_statement_name). The error messages were the same, but the SQLSTATE values were inconsistent. Change the SQLSTATE to 26000 to match PostgreSQL. The error message and connection recovery behavior remain unchanged. Author: Taiki Koshino koshino@sraoss.co.jp Discussion: https://github.com/pgpool/pgpool2/issues/180 Backpatch-through: v4.3 Branch ------ V4_5_STABLE Details ------- https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=b3d026b39167f2de470d24b56fa9e647ed38d... Modified Files -------------- src/protocol/pool_proto_modules.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgpool: Fix SQLSTATE for Bind referencing a nonexistent prepared statem @ 2026-10-21 01:57 Taiki Koshino <koshino@sraoss.co.jp> 0 siblings, 0 replies; 6+ messages in thread From: Taiki Koshino @ 2026-10-21 01:57 UTC (permalink / raw) To: pgpool-committers@lists.postgresql.org Fix SQLSTATE for Bind referencing a nonexistent prepared statement. When Bind referenced a nonexistent prepared statement, Pgpool-II returned SQLSTATE XX000 (internal_error), whereas PostgreSQL returned 26000 (invalid_sql_statement_name). The error messages were the same, but the SQLSTATE values were inconsistent. Change the SQLSTATE to 26000 to match PostgreSQL. The error message and connection recovery behavior remain unchanged. Author: Taiki Koshino koshino@sraoss.co.jp Discussion: https://github.com/pgpool/pgpool2/issues/180 Backpatch-through: v4.3 Branch ------ V4_4_STABLE Details ------- https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=ff50334b4d550001c9dc79cb4c64e09b7f65f... Modified Files -------------- src/protocol/pool_proto_modules.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgpool: Fix SQLSTATE for Bind referencing a nonexistent prepared statem @ 2026-10-21 01:58 Taiki Koshino <koshino@sraoss.co.jp> 0 siblings, 0 replies; 6+ messages in thread From: Taiki Koshino @ 2026-10-21 01:58 UTC (permalink / raw) To: pgpool-committers@lists.postgresql.org Fix SQLSTATE for Bind referencing a nonexistent prepared statement. When Bind referenced a nonexistent prepared statement, Pgpool-II returned SQLSTATE XX000 (internal_error), whereas PostgreSQL returned 26000 (invalid_sql_statement_name). The error messages were the same, but the SQLSTATE values were inconsistent. Change the SQLSTATE to 26000 to match PostgreSQL. The error message and connection recovery behavior remain unchanged. Author: Taiki Koshino koshino@sraoss.co.jp Discussion: https://github.com/pgpool/pgpool2/issues/180 Backpatch-through: v4.3 Branch ------ V4_3_STABLE Details ------- https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=fa91839a5ee1494f9fa9cb8768abaadaf33dd... Modified Files -------------- src/protocol/pool_proto_modules.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2026-10-21 01:58 UTC | newest] Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2026-10-21 01:55 pgpool: Fix SQLSTATE for Bind referencing a nonexistent prepared statem Taiki Koshino <koshino@sraoss.co.jp> 2026-10-21 01:56 pgpool: Fix SQLSTATE for Bind referencing a nonexistent prepared statem Taiki Koshino <koshino@sraoss.co.jp> 2026-10-21 01:57 pgpool: Fix SQLSTATE for Bind referencing a nonexistent prepared statem Taiki Koshino <koshino@sraoss.co.jp> 2026-10-21 01:57 pgpool: Fix SQLSTATE for Bind referencing a nonexistent prepared statem Taiki Koshino <koshino@sraoss.co.jp> 2026-10-21 01:57 pgpool: Fix SQLSTATE for Bind referencing a nonexistent prepared statem Taiki Koshino <koshino@sraoss.co.jp> 2026-10-21 01:58 pgpool: Fix SQLSTATE for Bind referencing a nonexistent prepared statem Taiki Koshino <koshino@sraoss.co.jp>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox