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: (view raw, whole thread or download thread mbox)
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:
        query.h (r1.5 -> r1.6)
        query.c (r1.10 -> r1.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-2018 The PostgreSQL Global Development Group