postgresql/src/include/common
Nathan Bossart bab2f27eaa Remove bits* typedefs.
In addition to removing the bits8, bits16, and bits32 typedefs,
this commit replaces all uses with uint8, uint16, or uint32.  bits*
provided little benefit beyond establishing the intent of the
variable, and they were inconsistently used for that purpose.
Third-party code should instead use the corresponding uint*
typedef.

Suggested-by: Andres Freund <andres@anarazel.de>
Reviewed-by: Álvaro Herrera <alvherre@kurilemu.de>
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Reviewed-by: Robert Haas <robertmhaas@gmail.com>
Reviewed-by: Michael Paquier <michael@paquier.xyz>
Reviewed-by: Peter Eisentraut <peter@eisentraut.org>
Reviewed-by: Melanie Plageman <melanieplageman@gmail.com>
Reviewed-by: Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Discussion: https://postgr.es/m/absbX33E4eaA0Ity%40nathan
2026-03-30 16:12:08 -05:00
..
archive.h Update copyright for 2026 2026-01-01 13:24:10 -05:00
base64.h Update copyright for 2026 2026-01-01 13:24:10 -05:00
blkreftable.h Update copyright for 2026 2026-01-01 13:24:10 -05:00
checksum_helper.h Update copyright for 2026 2026-01-01 13:24:10 -05:00
compression.h Move tar detection and compression logic to common. 2026-03-20 15:31:35 -04:00
config_info.h Update copyright for 2026 2026-01-01 13:24:10 -05:00
connect.h Update copyright for 2026 2026-01-01 13:24:10 -05:00
controldata_utils.h Update copyright for 2026 2026-01-01 13:24:10 -05:00
cryptohash.h Update copyright for 2026 2026-01-01 13:24:10 -05:00
fe_memutils.h Update copyright for 2026 2026-01-01 13:24:10 -05:00
file_perm.h Update copyright for 2026 2026-01-01 13:24:10 -05:00
file_utils.h Update copyright for 2026 2026-01-01 13:24:10 -05:00
hashfn.h Update copyright for 2026 2026-01-01 13:24:10 -05:00
hashfn_unstable.h Use fallthrough attribute instead of comment 2026-02-19 08:51:12 +01:00
hmac.h Update copyright for 2026 2026-01-01 13:24:10 -05:00
int.h Update copyright for 2026 2026-01-01 13:24:10 -05:00
int128.h Fix typos and inconsistencies in code and comments 2026-01-05 09:19:15 +09:00
ip.h Update copyright for 2026 2026-01-01 13:24:10 -05:00
jsonapi.h Remove bits* typedefs. 2026-03-30 16:12:08 -05:00
keywords.h Update copyright for 2026 2026-01-01 13:24:10 -05:00
kwlookup.h Update copyright for 2026 2026-01-01 13:24:10 -05:00
link-canary.h Update copyright for 2026 2026-01-01 13:24:10 -05:00
logging.h Revert "Replace pg_restrict by standard restrict" 2026-01-14 15:12:25 +01:00
md5.h Update copyright for 2026 2026-01-01 13:24:10 -05:00
oauth-common.h Update copyright for 2026 2026-01-01 13:24:10 -05:00
openssl.h Update copyright for 2026 2026-01-01 13:24:10 -05:00
parse_manifest.h Update copyright for 2026 2026-01-01 13:24:10 -05:00
percentrepl.h Update copyright for 2026 2026-01-01 13:24:10 -05:00
pg_lzcompress.h Apply PGDLLIMPORT markings broadly. 2022-04-08 08:16:38 -04:00
pg_prng.h Update copyright for 2026 2026-01-01 13:24:10 -05:00
relpath.h Update copyright for 2026 2026-01-01 13:24:10 -05:00
restricted_token.h Update copyright for 2026 2026-01-01 13:24:10 -05:00
saslprep.h Update copyright for 2026 2026-01-01 13:24:10 -05:00
scram-common.h Update copyright for 2026 2026-01-01 13:24:10 -05:00
sha1.h Update copyright for 2026 2026-01-01 13:24:10 -05:00
sha2.h Update copyright for 2026 2026-01-01 13:24:10 -05:00
shortest_dec.h Update copyright for 2026 2026-01-01 13:24:10 -05:00
string.h Revert "Replace pg_restrict by standard restrict" 2026-01-14 15:12:25 +01:00
unicode_case.h Update copyright for 2026 2026-01-01 13:24:10 -05:00
unicode_case_table.h Update Unicode data to Unicode 17.0.0 2026-03-20 08:42:50 +01:00
unicode_category.h Update copyright for 2026 2026-01-01 13:24:10 -05:00
unicode_category_table.h Update Unicode data to Unicode 17.0.0 2026-03-20 08:42:50 +01:00
unicode_east_asian_fw_table.h Update Unicode data to Unicode 17.0.0 2026-03-20 08:42:50 +01:00
unicode_nonspacing_table.h Update Unicode data to Unicode 17.0.0 2026-03-20 08:42:50 +01:00
unicode_norm.h Update copyright for 2026 2026-01-01 13:24:10 -05:00
unicode_norm_hashfunc.h Update Unicode data to Unicode 17.0.0 2026-03-20 08:42:50 +01:00
unicode_norm_table.h Update Unicode data to Unicode 17.0.0 2026-03-20 08:42:50 +01:00
unicode_normprops_table.h Update Unicode data to Unicode 17.0.0 2026-03-20 08:42:50 +01:00
unicode_version.h Update Unicode data to Unicode 17.0.0 2026-03-20 08:42:50 +01:00
username.h Update copyright for 2026 2026-01-01 13:24:10 -05:00