Re: Error when following a documentation

2018-08-28 Thread David G. Johnston
On Tuesday, August 28, 2018, PG Doc comments form wrote: > > postgres=# DECLARE > postgres-# key integer; > ERROR: syntax error at or near "integer" > LINE 2: key integer; > ^ > You are writing pl/psql language code at the SQL input prompt. That won't work. You have to

Error when following a documentation

2018-08-28 Thread PG Doc comments form
The following documentation comment has been logged on the website: Page: https://www.postgresql.org/docs/10/static/plpgsql-cursors.html Description: As specified On page https://www.postgresql.org/docs/10/static/plpgsql-cursors.html#PLPGSQL-CURSOR-OPENING i am trying to run below commands -