Allowing create database within transaction block - Mailing list pgsql-hackers

From Hari Sankar
Subject Allowing create database within transaction block
Date
Msg-id CAKz7k7tx0S+eROWtTfnCPXpXYA35cx6=2kmox+Fb7coa8+1ZTg@mail.gmail.com
Whole thread Raw
Responses Re: Allowing create database within transaction block
List pgsql-hackers
Hi everyone,
I wanted to see why we do not allow the following statements to be allowed within a transaction block:
1. Create database
2. Drop Database
Is there a detailed reasoning behind disallowing the above statements as part of the design. Will appreciate it if someone can share on why postgres does not allow these statements inside a transaction block.

Thank you

pgsql-hackers by date:

Previous
From: "Bossart, Nathan"
Date:
Subject: Re: Add MAIN_RELATION_CLEANUP and SECONDARY_RELATION_CLEANUP options to VACUUM
Next
From: Daniil Zakhlystov
Date:
Subject: Re: libpq compression