Re: CREATE/DROP ROLE transactional? GRANT/REVOKE?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: CREATE/DROP ROLE transactional? GRANT/REVOKE?
Дата
Msg-id 3353928.1678116712@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: CREATE/DROP ROLE transactional? GRANT/REVOKE?  (Dominique Devienne <ddevienne@gmail.com>)
Ответы Re: CREATE/DROP ROLE transactional? GRANT/REVOKE?  (Dominique Devienne <ddevienne@gmail.com>)
Список pgsql-general
Dominique Devienne <ddevienne@gmail.com> writes:
> On Mon, Mar 6, 2023 at 4:06 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> DDL commands in Postgres are
>> transactional unless their man page explicitly says they're not.

> Could you point to where in the doc this is stated?

For example, for CREATE DATABASE the first "Note" para in [1] is

    CREATE DATABASE cannot be executed inside a transaction block.

I don't think we are entirely consistent about whether this is
mentioned in "Description" or "Notes", but it's there somewhere.

            regards, tom lane

[1] https://www.postgresql.org/docs/current/sql-createdatabase.html



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

Предыдущее
От: Dominique Devienne
Дата:
Сообщение: Re: CREATE/DROP ROLE transactional? GRANT/REVOKE?
Следующее
От: Dominique Devienne
Дата:
Сообщение: Re: CREATE/DROP ROLE transactional? GRANT/REVOKE?