Re: PgAmin3, Anonymous code block can't be executed by pressing "Execute PG script" button.
В списке pgadmin-support по дате отправления:
| От | Guillaume Lelarge |
|---|---|
| Тема | Re: PgAmin3, Anonymous code block can't be executed by pressing "Execute PG script" button. |
| Дата | |
| Msg-id | 1380475041.2659.48.camel@localhost.localdomain обсуждение исходный текст |
| Ответ на | PgAmin3, Anonymous code block can't be executed by pressing "Execute PG script" button. (Yuri Levinsky <yuril@celltick.com>) |
| Список | pgadmin-support |
On Mon, 2013-09-16 at 12:59 +0000, Yuri Levinsky wrote: > Dear support, > Affected version: any version. > Distribution type: any type. > Detected on OS: Win 7 > > Anonymous code block can't be executed by pressing "Execute PG script" button, getting the following error: [ERROR ]1.0: syntax error, unexpected character. > > Reproduce: > > DO $$ > BEGIN > insert into tctplugagents values (7, 1, 'aaa', 'aaaa'); > EXCEPTION WHEN unique_violation THEN > -- do nothing > END$$;--EOS > > It will be successfully executed by "execute query" button pressing. > pgscript was written previous to the inclusion of the DO statement in PostgreSQL. Since then, there's been not much work on the pgScript tool. -- Guillaume http://blog.guillaume.lelarge.info http://www.dalibo.com
В списке pgadmin-support по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера