Hi Rodrigo, [EMAIL PROTECTED] [2008-07-16 18:03 -0700]: > I'm using the postgresql packages in an environment having 20,000+ > groups, queried over LDAP on a remote server. In this situation, the > change_uid function in PgCommon.pm is unbearably slow. To wit: > [...] > The following implementation seems to work equivalently, and is orders > of magnitude faster.
Thanks, I applied a (slightly simplified) version. I'll give it a thorough test, and upload later today. Martin -- Martin Pitt | http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]