pgsql: CREATE DATABASE cannot be executed from a function or multi-command string
"Aaron S. Hawley" <[email protected]> Tue, 4 Nov 2008 12:12:16 -0500
| Newsgroups | gmane.comp.gnu.enterprise.devel |
|---|---|
| Message-ID | <[email protected]> |
This is a "pre-emptive" bug report. Newer version of Postgres have changed the ability to send a CREATE DATABASE function in a block with other statements. I noticed this error message when running gnue-schema --createdb, something that gnue-setupdb uses. http://archives.postgresql.org/pgsql-hackers/2007-09/msg00933.php Looks like line 122 needs to change. <http://www.gnuenterprise.org/cgi-bin/viewcvs.cgi/trunk/gnue-common/src/datasources/drivers/sql/postgresql/Behavior.py?view=markup> <http://svn.gnuenterprise.org/gnue/trunk/gnue-common/src/datasources/drivers/sql/postgresql/Behavior.py> Cheers, /a