Re: ERROR: CREATE DATABASE cannot be executed within a pipeline

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: ERROR: CREATE DATABASE cannot be executed within a pipeline
Дата
Msg-id 639879.1684549034@sss.pgh.pa.us
обсуждение исходный текст
Ответ на ERROR: CREATE DATABASE cannot be executed within a pipeline  ("396934406" <396934406@qq.com>)
Список 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 по дате отправления:

Предыдущее
От: "396934406"
Дата:
Сообщение: ERROR: CREATE DATABASE cannot be executed within a pipeline
Следующее
От: Cidy Long
Дата:
Сообщение: How to restore database without re-write database and tables owner by using postgres