Bug#491136: postgresql-common: Reading supplementary groups is too slow

2008-07-21 Thread Martin Pitt
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 implementatio

Bug#491136: postgresql-common: Reading supplementary groups is too slow

2008-07-17 Thread Rodrigo Gallardo
On Thu, Jul 17, 2008 at 08:25:59AM +0200, Ondřej Surý wrote: > 2008/7/17 <[EMAIL PROTECTED]>: > > Package: postgresql-common > > Version: 73 > > Severity: normal > > > > I'm using the postgresql packages in an environment having 20,000+ > > groups, queried over LDAP on a remote server. In this sit

Bug#491136: postgresql-common: Reading supplementary groups is too slow

2008-07-16 Thread Ondřej Surý
2008/7/17 <[EMAIL PROTECTED]>: > Package: postgresql-common > Version: 73 > Severity: normal > > 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

Bug#491136: postgresql-common: Reading supplementary groups is too slow

2008-07-16 Thread rodrigo
Package: postgresql-common Version: 73 Severity: normal 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: [EMAIL PROTECTED]:~$ time sudo perl -I /us