postgresql/contrib
Michael Paquier 6dcfac9696 Use more consistent *GetDatum() macros for some unsigned numbers
This patch switches some code paths to use GetDatum() macros more in
line with the data types of the variables they manipulate.  This set of
changes does not fix a problem, but it is always nice to be more
consistent across the board.

Author: Kirill Reshke <reshkekirill@gmail.com>
Reviewed-by: Roman Khapov <rkhapov@yandex-team.ru>
Reviewed-by: Yuan Li <carol.li2025@outlook.com>
Reviewed-by: Michael Paquier <michael@paquier.xyz>
Reviewed-by: Man Zeng <zengman@halodbtech.com>
Discussion: https://postgr.es/m/CALdSSPidtC7j3MwhkqRj0K2hyp36ztnnjSt6qzGxQtiePR1dzw@mail.gmail.com
2026-01-14 17:07:49 +09:00
..
amcheck Update copyright for 2026 2026-01-01 13:24:10 -05:00
auth_delay Update copyright for 2026 2026-01-01 13:24:10 -05:00
auto_explain instrumentation: Keep time fields as instrtime, convert in callers 2026-01-09 13:38:00 -05:00
basebackup_to_shell Update copyright for 2026 2026-01-01 13:24:10 -05:00
basic_archive Update copyright for 2026 2026-01-01 13:24:10 -05:00
bloom Move instrumentation-related structs to instrument_node.h 2026-01-12 16:59:28 +01:00
bool_plperl Update copyright for 2026 2026-01-01 13:24:10 -05:00
btree_gin Update copyright for 2026 2026-01-01 13:24:10 -05:00
btree_gist Remove now-useless btree_gist--1.2.sql script. 2026-01-08 14:09:58 -05:00
citext Update copyright for 2026 2026-01-01 13:24:10 -05:00
cube Update copyright for 2026 2026-01-01 13:24:10 -05:00
dblink Update copyright for 2026 2026-01-01 13:24:10 -05:00
dict_int Update copyright for 2026 2026-01-01 13:24:10 -05:00
dict_xsyn Update copyright for 2026 2026-01-01 13:24:10 -05:00
earthdistance Update copyright for 2026 2026-01-01 13:24:10 -05:00
file_fdw Update copyright for 2026 2026-01-01 13:24:10 -05:00
fuzzystrmatch fuzzystrmatch: use pg_ascii_toupper(). 2026-01-12 08:54:04 -08:00
hstore Update copyright for 2026 2026-01-01 13:24:10 -05:00
hstore_plperl Update copyright for 2026 2026-01-01 13:24:10 -05:00
hstore_plpython Update copyright for 2026 2026-01-01 13:24:10 -05:00
intagg Update copyright for 2026 2026-01-01 13:24:10 -05:00
intarray Fix selectivity estimation integer overflow in contrib/intarray 2026-01-04 20:32:40 +13:00
isn Update copyright for 2026 2026-01-01 13:24:10 -05:00
jsonb_plperl Update copyright for 2026 2026-01-01 13:24:10 -05:00
jsonb_plpython Update copyright for 2026 2026-01-01 13:24:10 -05:00
lo Update copyright for 2026 2026-01-01 13:24:10 -05:00
ltree Fix typos and inconsistencies in code and comments 2026-01-05 09:19:15 +09:00
ltree_plpython Update copyright for 2026 2026-01-01 13:24:10 -05:00
oid2name Update copyright for 2026 2026-01-01 13:24:10 -05:00
pageinspect Use more consistent *GetDatum() macros for some unsigned numbers 2026-01-14 17:07:49 +09:00
passwordcheck Update copyright for 2026 2026-01-01 13:24:10 -05:00
pg_buffercache Use more consistent *GetDatum() macros for some unsigned numbers 2026-01-14 17:07:49 +09:00
pg_freespacemap Update copyright for 2026 2026-01-01 13:24:10 -05:00
pg_logicalinspect Update copyright for 2026 2026-01-01 13:24:10 -05:00
pg_overexplain Update copyright for 2026 2026-01-01 13:24:10 -05:00
pg_prewarm Update copyright for 2026 2026-01-01 13:24:10 -05:00
pg_stat_statements Fix query jumbling with GROUP BY clauses 2026-01-14 08:44:12 +09:00
pg_surgery Update copyright for 2026 2026-01-01 13:24:10 -05:00
pg_trgm Update copyright for 2026 2026-01-01 13:24:10 -05:00
pg_visibility pg_visibility: Fix incorrect buffer lock description in comment. 2026-01-05 15:49:43 -08:00
pg_walinspect Update copyright for 2026 2026-01-01 13:24:10 -05:00
pgcrypto Update copyright for 2026 2026-01-01 13:24:10 -05:00
pgrowlocks Update copyright for 2026 2026-01-01 13:24:10 -05:00
pgstattuple Use relation_close() more consistently in contrib/ 2026-01-06 16:17:59 +09:00
postgres_fdw Update copyright for 2026 2026-01-01 13:24:10 -05:00
seg Update copyright for 2026 2026-01-01 13:24:10 -05:00
sepgsql Update copyright for 2026 2026-01-01 13:24:10 -05:00
spi Update copyright for 2026 2026-01-01 13:24:10 -05:00
sslinfo Update copyright for 2026 2026-01-01 13:24:10 -05:00
start-scripts Remove gratuitous references to postmaster program 2023-01-26 10:48:32 +01:00
tablefunc Update copyright for 2026 2026-01-01 13:24:10 -05:00
tcn Update copyright for 2026 2026-01-01 13:24:10 -05:00
test_decoding Prevent unintended dropping of active replication origins. 2026-01-14 07:15:46 +00:00
tsm_system_rows Update copyright for 2026 2026-01-01 13:24:10 -05:00
tsm_system_time Update copyright for 2026 2026-01-01 13:24:10 -05:00
unaccent Update copyright for 2026 2026-01-01 13:24:10 -05:00
uuid-ossp Update copyright for 2026 2026-01-01 13:24:10 -05:00
vacuumlo Update copyright for 2026 2026-01-01 13:24:10 -05:00
xml2 Update copyright for 2026 2026-01-01 13:24:10 -05:00
contrib-global.mk Respect TEMP_CONFIG when pg_regress_check and friends are called 2016-02-27 12:28:21 -05:00
Makefile pg_overexplain: Additional EXPLAIN options for debugging. 2025-03-26 13:52:21 -04:00
meson.build Update copyright for 2026 2026-01-01 13:24:10 -05:00
README Rename 'gmake' to 'make' in docs and recommended commands 2014-02-12 17:29:19 -05:00

The PostgreSQL contrib tree
---------------------------

This subtree contains porting tools, analysis utilities, and plug-in
features that are not part of the core PostgreSQL system, mainly
because they address a limited audience or are too experimental to be
part of the main source tree.  This does not preclude their
usefulness.

User documentation for each module appears in the main SGML
documentation.

When building from the source distribution, these modules are not
built automatically, unless you build the "world" target.  You can
also build and install them all by running "make all" and "make
install" in this directory; or to build and install just one selected
module, do the same in that module's subdirectory.

Some directories supply new user-defined functions, operators, or
types.  To make use of one of these modules, after you have installed
the code you need to register the new SQL objects in the database
system by executing a CREATE EXTENSION command.  In a fresh database,
you can simply do

    CREATE EXTENSION module_name;

See the PostgreSQL documentation for more information about this
procedure.