python - be: Limit Postgres.Query to 1 command.

From: jwp(at)pgfoundry(dot)org (James William Pye)
To: pgsql-committers(at)postgresql(dot)org
Subject: python - be: Limit Postgres.Query to 1 command.
Date: 2005-08-17 05:06:01
Message-ID: 20050817050601.E7BC71125F35@pgfoundry.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Limit Postgres.Query to 1 command. Similar to prepared statements('P'),
explicitly limit the Query to one command. Handling multiple commands meant the
allowance of returning multiple Portals(nasty). Also, prohibit Transaction
statements as the user is expected to use Postgres.Transact(hint about it too).
Change q_rpt to a Node, as only one RPT in the generated list is allowed,
so no need to store rpt list.
Other miscellaneous changes.

Modified Files:
--------------
be/include/pypg:
query.h (r1.5 -> r1.6)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/be/include/pypg/query.h.diff?r1=1.5&r2=1.6)
be/src:
query.c (r1.10 -> r1.11)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/be/src/query.c.diff?r1=1.10&r2=1.11)

Browse pgsql-committers by date

  From Date Subject
Next Message James William Pye 2005-08-17 05:20:10 python - ex: Add a few exceptions and rename a few.
Previous Message Bruce Momjian 2005-08-17 03:51:02 pgsql: Fix FSM warning to mention increasing max_fsm_pages.