Hi,
On Fri, 5 Dec 2003, Tom Lane wrote:
> > Hm, Solaris' bsearch() fails on empty input? How bizarre.
>
> I was skeptical but apparently this is a known bug ...
> googling turned up a couple of references, eg
> http://www.opencm.org/pipermail/opencm-dev/2002-July/001077.html
in defense of Solari
> Hm, Solaris' bsearch() fails on empty input? How bizarre.
I was skeptical but apparently this is a known bug ...
googling turned up a couple of references, eg
http://www.opencm.org/pipermail/opencm-dev/2002-July/001077.html
regards, tom lane
---
Michael Wildpaner <[EMAIL PROTECTED]> writes:
> + /* fail if there is nothing to search in */
> + if ((user_sorted == NULL) || (user_length == 0))
> + return NULL;
Hm, Solaris' bsearch() fails on empty input? How bizarre.
Easily worked around though --- thanks for the report!
Hi,
on Solaris 9 with PostgreSQL 7.4:
when you
- 'initdb' a fresh database,
- _don't_ set a password for user 'postgres',
- convert the 'trust' lines in data/pg_hba.conf to 'md5' or 'password'
and then try to connect as user 'postgres', the backend crashes in
backend/libpq/hba.c:372: