On Sun, 27 May 2007, Guido Guenther wrote: > Yes it does, but that doesn't seem to be sufficient. If you look at > nss/files-XXX.c you see:
Where's that from? > Note that the group stays 112 until the buffer is large enough to fit > the "huge" group 10000 into it. This is something that must be handled > by the nss modul internally. So the pgsql module should IMHO do > somehting like: > > res = fetch("group"); > if (PQresultStatus(res)==PGRES_TUPLES_OK) { > status = res2grp(res, result, buffer, buflen, errnop); > if(status == NSS_STATUS_TRYAGAIN && *errnop = ERANGE) ^^ should probably be == > move("group", backwards) > } else > status = NSS_STATUS_UNAVAIL; > > Where move() just moves the cursor one row back. So I'll reassign to > libnss-pgsql1, if you agree? Sure, however it's not the latest upstream version in Debian and it might not be completely relevant in that case. Cheers, -- Raphaël Hertzog Premier livre français sur Debian GNU/Linux : http://www.ouaza.com/livre/admin-debian/