Re: deallocate statement failing

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: deallocate statement failing
Дата
Msg-id 30795.1581054522@sss.pgh.pa.us
обсуждение исходный текст
Ответ на deallocate statement failing  (rob stone <floriparob@gmail.com>)
Ответы Re: deallocate statement failing  (rob stone <floriparob@gmail.com>)
Список pgsql-general
rob stone <floriparob@gmail.com> writes:
> 2020-02-07 15:42:55 AEDT ERROR:  syntax error at or near
> "'AIT1581050529'" at character 13
> 2020-02-07 15:42:55 AEDT STATEMENT:  DEALLOCATE  'AIT1581050529'

> The deallocate statement fails. It doesn't matter if it is just
> "DEALLOCATE" or "DEALLOCATE PREPARE".

I think you want double quotes not single quotes.  The argument
of DEALLOCATE is an SQL identifier, not a string literal.

            regards, tom lane



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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: deallocate statement failing
Следующее
От: rob stone
Дата:
Сообщение: Re: deallocate statement failing