Repository navigation
Commit f23f7fa
When PREPARE fails with an indeterminate type error, PG falls back to a
statement prepared on its first execution. Closing such a statement before
any execution did nothing, so the returned future never completed.
Complete the close and mark the statement closed, so that a later execution
fails instead of preparing it.
Assisted-by: Anthropic Claude (claude-opus-5-5)
(cherry picked from commit 8db96a0)
Signed-off-by: Sharang Gupta <sharang@sharanggupta.dev>
Signed-off-by: Thomas Segismont <tsegismont@gmail.com>
Co-authored-by: Sharang Gupta <sharang@sharanggupta.dev>
1 parent 78d6d63 commit f23f7fa
2 files changed
Lines changed: 15 additions & 0 deletions
File tree
- vertx-pg-client/src/test/java/io/vertx/tests/pgclient
- vertx-sql-client/src/main/java/io/vertx/sqlclient/impl
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
587 | 587 | | |
588 | 588 | | |
589 | 589 | | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
590 | 601 | | |
591 | 602 | | |
592 | 603 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
137 | 141 | | |
138 | 142 | | |
139 | 143 | | |
| |||
0 commit comments