Silvio Macedo <smacedo(at)ic(dot)ac(dot)uk> writes:
> In src/backend/utils/adt/name.c you do:
> return (bool) strncmp(arg1->data, arg2->data, NAMEDATALEN) == 0;
> In this way you are casting strncmp to bool, and not the comparison.
Oops. Good catch!
Wonder if there are similar mistakes elsewhere? If so, how could we
regards, tom lane
pgsql-bugs by date
|Next:||From: Bruce Momjian||Date: 1999-11-25 18:45:34|
|Subject: Re: [BUGS] Postgresql on Ultraparc/Linux , Bug report and patch!|
|Previous:||From: Silvio Macedo||Date: 1999-11-25 15:34:16|
|Subject: Postgresql on Ultraparc/Linux , Bug report and patch!|