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

Reinhard Mueller <[email protected]> Thu, 13 Nov 2008 21:04:04 +0100
Newsgroups gmane.comp.gnu.enterprise.devel
Organization GNU Enterprise
Message-ID <1226606644.6617.112.camel@dublin>
Am Montag, den 10.11.2008, 09:33 +0100 schrieb Reinhard Mueller:
> Do I understand correctly that we just have to split the
> 
>   "ABORT; CREATE DATABASE %s WITH OWNER %s ENCODING = 'UNICODE';
> BEGIN"
> 
> into 3 separately sent statements?

Well, I've changed it that way.

I can not test it at the moment on the machines I use, so I welcome any
feedback about whether the change is correct.

Thanks,
Reinhard

_______________________________________________
Gnue-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnue-dev
signature.asc (application/pgp-signature, 307 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iQCVAwUASRyIMipv03KHfKbjAQLcvQP/eIxS/zkeXShG6T5YAEjvLh5q6m9uUV8X
vSwsAN52rNccMtMScpYFIgLNQhcVNUBjoU490E2quwsh8zcyFXpbidGXt67ZeBvf
v8m+5X3xWB/ESR7YJNdLFt8RJU1TmvWn92l3LfQRBGS8a1jNDyCNc2f6M4JDsQb2
eM1TrDQpDro=
=Tffg
-----END PGP SIGNATURE-----