Wrong comment for bitncmp function in network.c - Mailing list pgsql-hackers

From Emre Hasegeli
Subject Wrong comment for bitncmp function in network.c
Date
Msg-id CAE2gYzx4dVxEpUcrUX6+Rxb=2ivVtrtoRPRKjfCRgcYqkX44Xg@mail.gmail.com
Whole thread Raw
Responses Re: Wrong comment for bitncmp function in network.c  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
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.



pgsql-hackers by date:

Previous
From: knizhnik
Date:
Subject: Re: [ANNOUNCE] IMCS: In Memory Columnar Store for PostgreSQL
Next
From: Magnus Hagander
Date:
Subject: Re: [PATCH] Support for pg_stat_archiver view