| From: | shihao zhong <zhong950419(at)gmail(dot)com> |
|---|---|
| To: | ibrahimthecosmic(at)gmail(dot)com, pgsql-bugs(at)lists(dot)postgresql(dot)org |
| Subject: | Re: BUG #19941: Acknowledged INSERT lost after a simple Query inside an extended-protocol batch (XX000) |
| Date: | 2026-11-30 04:06:42 |
| Message-ID: | CAGRkXqSXkoYq2+waQvzdBNCt-3fW=Bj6myUAX+ASY9diDmxiGw@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-bugs |
Hi,
Thanks for the clear report and the script. Since d0eb4297cc5 a Query
or FunctionCall that arrives after an Execute runs in the implicit
block of the pipeline. It marks the transaction as finished without
committing it, so the Sync does nothing. The attached patch
closes that block in finish_xact_command() for those two messages,
which gives back the 17 behavior.
Thanks,
Shihao
| Attachment | Content-Type | Size |
|---|---|---|
| nocfbot-v1-REL_19-0001-Fix-lost-xact-in-pipeline.patch | application/octet-stream | 6.1 KB |
| v1-0001-Fix-lost-transaction-with-simple-Query-or-Functio.patch | application/octet-stream | 6.1 KB |
| nocfbot-v1-REL_18-0001-Fix-lost-xact-in-pipeline.patch | application/octet-stream | 6.0 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | shihao zhong | 2026-11-30 04:21:23 | Re: BUG #19909: BRIN redo: BufferIsPinned assert in brin_xlog_insert_update() if index was dropped or truncated |
| Previous Message | Michael Paquier | 2026-11-30 01:12:09 | Re: BUG #19789: "expression not found in statistics object" for a boolean domain column in an MCV statistics object |