BUG #13889: psql doesn't exequte correct script - Mailing list pgsql-bugs

From v_bilyak@mail.ru
Subject BUG #13889: psql doesn't exequte correct script
Date
Msg-id 20160125170904.2541.87445@wrigleys.postgresql.org
Whole thread Raw
Responses Re: BUG #13889: psql doesn't exequte correct script
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      13889
Logged by:          Vladimir
Email address:      v_bilyak@mail.ru
PostgreSQL version: 9.5.0
Operating system:   Windows 10
Description:

Hello. I faced the following issue: psql.exe does not execute the following
script

DROP DATABASE "demo_crash";
CREATE DATABASE "demo_crash";

aborting with error:

CREATE DATABASE cannot be executed from a function or multi-command string

I searched in Google for solution but found only suggestion to rebuild
Postgres with some fix in source code that is not acceptable in my case. Do
you have another suggestion how to resolve it? Thank you in advance for any
help!

Sincerely,
Vladimir

pgsql-bugs by date:

Previous
From: Xtra Coder
Date:
Subject: Re: BUG #13885: float->string conversion loses precision server-side on JDBC connection
Next
From: Pavel Stehule
Date:
Subject: Re: BUG #13889: psql doesn't exequte correct script