D'Arcy J.M. Cain schrieb:
How about this? Find all tables with no primary key and add it to self._pkeys with value "oid" and if someone uses get() or update() against one of those tables and there is no OID on it then it will fail. No one should expect those methods to work in that case anyway.
 The methods will still work if a unique key is supplied anyway.

I agree that the time is now for these cleanups but let's try to
finish off any API changes by the end of this week.

Ok, I'll try to work a bit on this along these lines tonight. Maybe I'll also solve the open problem with composite primary keys.

-- Christoph
_______________________________________________
PyGreSQL mailing list
[email protected]
http://mailman.vex.net/mailman/listinfo/pygresql

Reply via email to