pgsql: Doc: add comments about PreventInTransactionBlock/IsInTransactio

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Doc: add comments about PreventInTransactionBlock/IsInTransactio
Дата
Msg-id E1osndX-000LHX-25@gemulon.postgresql.org
обсуждение исходный текст
Список 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
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/fec80da849f3374c2931cc3bf593edca15041ece

Modified Files
--------------
src/backend/access/transam/xact.c | 8 ++++++++
1 file changed, 8 insertions(+)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: pgsql: Fix compilation warnings with libselinux 3.1 in contrib/sepgsql/
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Report a more useful error for reloptions on a partitioned table