PL/Tcl - examples not working

2021-04-09 Thread PG Doc comments form
The following documentation comment has been logged on the website: Page: https://www.postgresql.org/docs/13/pltcl-trigger.html Description: 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 sta

Re: PL/Tcl - examples not working

2021-04-09 Thread Tom Lane
PG Doc comments form 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 l

Re: PL/Tcl - examples not working

2021-04-09 Thread Maksym Zinchenko
Ok, you are right works fine copying directly to psql. I was trying to do it from ValentinaStudio. But I still can't understand why my FUNCTION doesn't work. I have a table "counter" where i keep track of gapless counters for different tables, my FUNCTION simply updates the "counter" table and adds