| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Doc: add comments about PreventInTransactionBlock/IsInTransactio |
| Date: | 2022-11-09 16:09:11 |
| Message-ID: | E1osndW-000LHK-VS@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Doc: add comments about PreventInTransactionBlock/IsInTransactionBlock.
Add a little to the header comments for these functions to make it
clearer what guarantees about commit behavior are provided to callers.
(See commit f92944137 for context.)
Although this is only a comment change, it's really documentation
aimed at authors of extensions, so it seems appropriate to back-patch.
Yugo Nagata and Tom Lane, per further discussion of bug #17434.
Discussion: https://postgr.es/m/17434-d9f7a064ce2a88a3@postgresql.org
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/e613ace1f0d5734b62b133e9700300166ece1599
Modified Files
--------------
src/backend/access/transam/xact.c | 8 ++++++++
1 file changed, 8 insertions(+)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2022-11-09 17:28:38 | pgsql: Report a more useful error for reloptions on a partitioned table |
| Previous Message | Michael Paquier | 2022-11-09 00:41:41 | pgsql: Fix compilation warnings with libselinux 3.1 in contrib/sepgsql/ |