I am working on an AWS + PostgreSQL server. When I execute a query to create a database, I get an error message:
CREATE DATABASE cannot run inside a transaction block
I am working on Linux Ubuntu 12.04 LTS.
How can I solve this problem?
I used the inclusion of autocommit in PostgreSQL and it works for me.
Here is a request to enable auto messaging
SET AUTOCOMMIT = ON
Source: https://habr.com/ru/post/1205159/More articles:How to make group field text disabled when group field is disabled? - winapiHow to return a list length as an Integer type instead of an Int in Haskell - haskellTravis could not find satellite 1.7.4 - travis-ciYii Activerecord without yii - phpCreated .isInteger (x) number cannot work in IE - javascriptHow to enable Log4j2 messages in TestNG reports - javaOverlay not installed correctly - twitter-bootstrapSLF4j with Log4j2 ERROR Cannot call factory method in class class ... RollingFileAppender for element RollingFile - javaIs it possible to include parent properties in an extended Sass class? - sassCan I ignore Excel warnings when creating spreadsheets using EPPlus? - c #All Articles