| From: | shihao zhong <zhong950419(at)gmail(dot)com> |
|---|---|
| To: | Ayush Tiwari <ayushtiwari(dot)slg01(at)gmail(dot)com> |
| Cc: | Heikki Linnakangas <hlinnaka(at)iki(dot)fi>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: Fix two race conditions in processing interrupts |
| Date: | 2026-11-24 02:13:59 |
| Message-ID: | CAGRkXqTq5tMS-0MCJBOygtoijfvuhc+5+5=tkPEx19LUTrcqXQ@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
> Maybe we
> could leave IsTransactionOrTransactionBlock() as-is and handle this
> only for the idle stats check?
Give it a try with your idea, it doesn't look that complex, maybe we should
fix it?
Thanks,
Shihao
| Attachment | Content-Type | Size |
|---|---|---|
| nocfbot-0001-Don-t-report-idle-stats-while-starting-a-transaction.patch | application/octet-stream | 3.4 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Shinya Kato | 2026-11-24 02:35:32 | Speed up binary COPY TO by not allocating 1 kB per datum |
| Previous Message | ZizhuanLiu X-MAN | 2026-11-24 02:08:28 | Re: Incorrect selectivity estimates for NOT on nullable boolean columns |