Re: BUG #17434: CREATE/DROP DATABASE can be executed in the same transaction with other commands

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Yugo NAGATA <nagata(at)sraoss(dot)co(dot)jp>
Cc: pgsql-hackers(at)postgresql(dot)org, "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>, Bruce Momjian <bruce(at)momjian(dot)us>
Subject: Re: BUG #17434: CREATE/DROP DATABASE can be executed in the same transaction with other commands
Date: 2022-11-06 17:54:17
Message-ID: 3032689.1667757257@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

Yugo NAGATA <nagata(at)sraoss(dot)co(dot)jp> writes:
>> The attached patch tries to add comments explaining it on the functions.

> I forward it to the hackers list because the patch is to fix comments.

What do you think of the attached wording?

I don't think the pipeline angle is of concern to anyone who might be
reading these comments with the aim of understanding what guarantees
they have. Perhaps there should be more about that in the user-facing
docs, though.

regards, tom lane

Attachment Content-Type Size
comments_on_PreventInTransactionBlock-2.patch text/x-diff 1.2 KB

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message PG Bug reporting form 2022-11-06 23:09:56 BUG #17679: REFRESH MATERIALIZED VIEW CONCURRENTLY leaves temporary files?
Previous Message Tom Lane 2022-11-05 17:23:20 Re: BUG #17618: unnecessary filter column <> text even after adding index

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2022-11-06 18:16:14 Re: remap the .text segment into huge pages at run time
Previous Message Andrew Dunstan 2022-11-06 16:30:31 Re: ssl tests aren't concurrency safe due to get_free_port()