DECLARE CURSOR

snpe <snpe@snpe.co.yu>

From: snpe <snpe@snpe.co.yu>
To: pgsql-general <pgsql-general@postgresql.org>
Date: 2002-11-15T17:05:32Z
Lists: pgsql-hackers
Hello,
  When I call DECLARE CURSOR out of transaction command success,
but cursor is not created
  Reference manual say that this get error :
ERROR: DECLARE CURSOR may only be used in begin/end transaction blocks 
  I don't find this text in pgsql source code
What is problem ?
Thanks
Haris Peco