Re: [HACKERS] Wrong comment for bitncmp function in network.c

2014-01-04 Thread Tom Lane
Emre Hasegeli writes: > I am not sure it worth reporting but it took me a while to find out > what is wrong with comparing two values returned from > the bitncmp function. It does not return -1, 1 or 0 as it is written > on the comment when n % 8 == 0. Yeah, should say "<0, >0, or 0", I guess. W

[HACKERS] Wrong comment for bitncmp function in network.c

2014-01-04 Thread Emre Hasegeli
I am not sure it worth reporting but it took me a while to find out what is wrong with comparing two values returned from the bitncmp function. It does not return -1, 1 or 0 as it is written on the comment when n % 8 == 0. -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To