On Wed, 03 Dec 2008 00:05:56 +0100 Christoph Zwerschke <[EMAIL PROTECTED]> wrote: > I've just added a method for retrieving the server version. This would > allow us to make a case distinction and use the "returning" clause only > for versions newer than 8.2.
Heh. I was just working on that when I saw your commit. :-) > However, if we use the returning clause, then the insert statement does > not return the oid, so we have to explicitly request it with "returning > oid,*", but this will break for tables without oid. I agree we need to > reconsider the whole oid handling in one of the next versions, but leave > things as they are now since we don't want to hold up 4.0 any longer. The insert method hasn't returned the OID for a long time. The documentation is wrong. Let's fix that and move on. In fact I did fix that earlier today. Or did you mean that the OID isn't in the return dictionary? Is that an issue do you think? -- D'Arcy J.M. Cain PyGreSQL Development Group http://www.PyGreSQL.org _______________________________________________ PyGreSQL mailing list [email protected] http://mailman.vex.net/mailman/listinfo/pygresql
