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>
Re: psqlexception syntax error at or near "$" "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Steven Dahlin  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
Дата:
От: Kevin Grittner
Дата:
FAQ