[ python-Bugs-1000296 ] Relation interface

noreply at pgfoundry.org noreply at pgfoundry.org
Sat Dec 22 09:13:52 UTC 2007


Bugs item #1000296, was opened at 2005-04-28 00:22
You can respond by visiting: 
http://pgfoundry.org/tracker/?func=detail&atid=442&aid=1000296&group_id=1000094

Category: BE/TEOP
Group: To do
>Status: Closed
>Resolution: Postponed
Priority: 3
Submitted By: James Pye (jwp)
Assigned to: James Pye (jwp)
Summary: Relation interface

Initial Comment:
Get Postgres.Relation to inherit from Postgres.Object, implement direct insertions, and simple sequential iterators. Later more complicated scans should implemented by returning a special iterator from a __call__ call.

pg_proc_rel = Postgres.Catalog.Relation('pg_proc')
index_scan_iter = pg_proc_rel(proname = 'afunc'): ...

Something like that. Going to need to find a creative way to handle other comparison operators.

----------------------------------------------------------------------

>Comment By: James Pye (jwp)
Date: 2007-12-22 02:13

Message:
Let's leave this as a future feature. It's hard enough to get what's working stabilized.

----------------------------------------------------------------------

You can respond by visiting: 
http://pgfoundry.org/tracker/?func=detail&atid=442&aid=1000296&group_id=1000094


More information about the Python-general mailing list