This one time, at band camp, Guido Guenther said:
> 
> 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)
>                         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?

Seems reasonable.  Thanks for the help debugging this.
-- 
 -----------------------------------------------------------------
|   ,''`.                                            Stephen Gran |
|  : :' :                                        [EMAIL PROTECTED] |
|  `. `'                        Debian user, admin, and developer |
|    `-                                     http://www.debian.org |
 -----------------------------------------------------------------

Attachment: signature.asc
Description: Digital signature

Reply via email to