CREATE DATABASE cannot be executed from a function or multi-command string
В списке pgsql-hackers по дате отправления:
| От | Dave Page |
|---|---|
| Тема | CREATE DATABASE cannot be executed from a function or multi-command string |
| Дата | |
| Msg-id | 46F78D1E.6050209@postgresql.org обсуждение исходный текст |
| Ответы |
Re: CREATE DATABASE cannot be executed from a function or multi-command string
|
| Список | pgsql-hackers |
I get the above error message when creating a database in pgAdmin now: CREATE DATABASE demo WITH ENCODING='SQL_ASCII' TABLESPACE=pg_default; COMMENT ON DATABASE demo IS 'This is the demo database'; GRANT ALL ON DATABASE demo TO public; ALTER DATABASE demo SET search_path=demo; I understand what the message is telling me to do, but what is the reason for this change, and is it really *required*? The way pgAdmin is designed, a change to accomodate firing everything off in seperate queries would be a significant one which would most likely require us to effectively restart our whole beta process and may well mean we don't have a release ready for 8.3 in fact :-( The only other option I have at the moment is to force the user to do the above operation in two stages which I'm sure you'll agree is not very friendly. Regards, Dave.
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера