From: | jwp(at)pgfoundry(dot)org (James William Pye) |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | python - pq: Implement COPY support in Executing. |
Date: | 2005-08-25 00:47:13 |
Message-ID: | 20050825004713.5D8121125F2C@pgfoundry.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Log Message:
-----------
Implement COPY support in Executing. This adds a receptor keyword argument to
Executing. On COPY FROM, receptor must be an iterable that gives the data to be
copied. On COPY TO, receptor must be a callable that receives contents of the
CopyData messages received(differs from Querying's receptor). If a receptor
isn't given, no information will be supplied for COPY FROM and Executing_tuples
will hold the information received on COPY TO.
Additionally, make some of the compound transactions more consistent by taking
the portal name before the query name.
Modified Files:
--------------
pq/src:
client3.py (r1.6 -> r1.7)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/pq/src/client3.py.diff?r1=1.6&r2=1.7)
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2005-08-25 01:24:18 | pgsql: Remove TODO.detail/trigger. |
Previous Message | Bruce Momjian | 2005-08-25 00:38:39 | pgsql: Small cleanup. |