Am 29.01.2013 10:10, schrieb D'Arcy J.M. Cain: > I thought that someone tested against PG 8.3 and 8.4. It appears that > PQescapeIdentifier was added in 9.0 so the module does not load in 8.3 > and 8.4 which we claim to support. > > Do we fix the code to check for the earlier version or do we drop > support for anything before 9.0?
I tested against the older Postgres versions, and they still work. You just can't use pg_escape_identifier, and when you want to compile against an old Postgres version, you must set escaping-funcs=0. So I have just checked in an improved version of setup.py that checks the Postgres version and does this automatically. Please have a look and if you think it's important enough, just push it as a new version.
-- Christoph _______________________________________________ PyGreSQL mailing list [email protected] https://mail.vex.net/mailman/listinfo.cgi/pygresql
