Re: ERROR: CREATE DATABASE cannot be executed within a pipeline - Mailing list pgsql-bugs

From Tom Lane
Subject Re: ERROR: CREATE DATABASE cannot be executed within a pipeline
Date
Msg-id 639879.1684549034@sss.pgh.pa.us
Whole thread Raw
In response to ERROR: CREATE DATABASE cannot be executed within a pipeline  ("396934406" <396934406@qq.com>)
List pgsql-bugs
"=?gb18030?B?Mzk2OTM0NDA2?=" <396934406@qq.com> writes:
> When executing DROP DATABASE or CREATE DATABASE statements in JDBC,
> other statements cannot be included

This restriction is intentional.  Previous versions failed to enforce it
fully, but you were at serious hazard of problems, up to and including
database corruption, if you exploited the missing check.

            regards, tom lane



pgsql-bugs by date:

Previous
From: "396934406"
Date:
Subject: ERROR: CREATE DATABASE cannot be executed within a pipeline
Next
From: Cidy Long
Date:
Subject: How to restore database without re-write database and tables owner by using postgres