Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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)

pgsql-committers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group