Re: PL/Tcl - examples not working

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: PL/Tcl - examples not working
Дата
Msg-id 2026986.1617968031@sss.pgh.pa.us
обсуждение исходный текст
Ответ на PL/Tcl - examples not working  (PG Doc comments form <noreply@postgresql.org>)
Ответы Re: PL/Tcl - examples not working  (Maksym Zinchenko <siqsuruq@gmail.com>)
Список pgsql-docs
PG Doc comments form <noreply@postgresql.org> writes:
> Example on this page is not working
> https://www.postgresql.org/docs/13/pltcl-trigger.html
> Gives ERROR:  bind message supplies 1 parameters, but prepared statement ""
> requires 0

Works fine for me, when copied-and-pasted into psql.

The error message you quote looks a bit like whatever client-side
code you're using has decided that the $1 references in the function
body are query parameters.  They are not.  The function body is a
dollar-quoted string literal and should be sent unmodified.

            regards, tom lane



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

Предыдущее
От: PG Doc comments form
Дата:
Сообщение: PL/Tcl - examples not working
Следующее
От: Maksym Zinchenko
Дата:
Сообщение: Re: PL/Tcl - examples not working