Thread: pgsql/src/backend/tcop (pquery.c)

pgsql/src/backend/tcop (pquery.c)

From
Tom Lane
Date:
  Date: Sunday, June  4, 2000 @ 18:08:53
Author: tgl

Update of /home/projects/pgsql/cvsroot/pgsql/src/backend/tcop
     from hub.org:/home/projects/pgsql/tmp/cvs-serv9121

Modified Files:
    pquery.c

-----------------------------  Log Message  -----------------------------

If user re-DECLAREs an existing cursor name, close the old cursor of
that name and issue a NOTICE to the effect that we did.  Previously,
code would try to assign the new cursor declaration to the old portal,
but this didn't work reliably since new parsetree is still sitting in
blank portal and is likely to get clobbered.