Re: psqlexception syntax error at or near "$"

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: psqlexception syntax error at or near "$"
Дата
Msg-id 4CD90BFE020000250003744E@gw.wicourts.gov
обсуждение исходный текст
Ответ на psqlexception syntax error at or near "$"  (Steven Dahlin <pgdb.sldahlin@gmail.com>)
Список pgsql-jdbc
Steven Dahlin <pgdb.sldahlin@gmail.com> wrote:

> CREATE OR REPLACE FUNCTION system_info_fnc01() RETURNS trigger AS
> $$

>      raise exception ''System Info record already present'';

> $$

When you use dollar quoting you should not double your apostrophes.

Try:

     raise exception 'System Info record already present';

-Kevin

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Steven Dahlin
Дата:
Сообщение: psqlexception syntax error at or near "$"
Следующее
От: "Kevin Grittner"
Дата:
Сообщение: Re: psqlexception syntax error at or near "$"