postgresql/contrib
Peter Eisentraut 4f941d432b Remove useless casting to same type
This removes some casts where the input already has the same type as
the type specified by the cast.  Their presence could cause risks of
hiding actual type mismatches in the future or silently discarding
qualifiers.  It also improves readability.  Same kind of idea as
7f798aca1d and ef8fe69360.  (This does not change all such
instances, but only those hand-picked by the author.)

Author: Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Reviewed-by: Nathan Bossart <nathandbossart@gmail.com>
Reviewed-by: Jacob Champion <jacob.champion@enterprisedb.com>
Reviewed-by: Peter Eisentraut <peter@eisentraut.org>
Discussion: https://www.postgresql.org/message-id/flat/aSQy2JawavlVlEB0%40ip-10-97-1-34.eu-west-3.compute.internal
2025-12-02 10:09:32 +01:00
..
amcheck Improve TAP tests by replacing ok() with better Test::More functions 2025-10-17 14:39:09 +09:00
auth_delay
auto_explain
basebackup_to_shell
basic_archive
bloom Remove unneeded casts of BufferGetPage() result 2025-08-29 07:18:29 +02:00
bool_plperl
btree_gin Update some timestamp[tz] functions to use soft-error reporting 2025-12-02 09:30:23 +09:00
btree_gist Remove useless casting to same type 2025-12-02 10:09:32 +01:00
citext
cube Remove useless casting to same type 2025-12-02 10:09:32 +01:00
dblink Use CompactAttribute more often, when possible 2025-10-22 11:36:26 +13:00
dict_int
dict_xsyn
earthdistance
file_fdw Use CompactAttribute more often, when possible 2025-10-22 11:36:26 +13:00
fuzzystrmatch Remove useless casting to same type 2025-12-02 10:09:32 +01:00
hstore
hstore_plperl
hstore_plpython
intagg
intarray Track the maximum possible frequency of non-MCE array elements. 2025-09-20 14:48:16 -04:00
isn Fix various incorrect filename references 2025-09-22 13:33:17 +12:00
jsonb_plperl
jsonb_plpython
lo
ltree Fix contrib/ltree's subpath() with negative offset. 2025-11-01 13:25:42 -04:00
ltree_plpython
oid2name
pageinspect Don't include access/htup_details.h in executor/tuptable.h 2025-10-05 18:00:38 +02:00
passwordcheck
pg_buffercache pg_buffercache: Add pg_buffercache_mark_dirty{,_relation,_all}() 2025-11-28 09:04:04 +09:00
pg_freespacemap
pg_logicalinspect
pg_overexplain Keep track of what RTIs a Result node is scanning. 2025-09-23 09:07:55 -04:00
pg_prewarm bufmgr: Allow some buffer state modifications while holding header lock 2025-11-06 16:42:10 -05:00
pg_stat_statements pg_stat_statements: Fix handling of duplicate constant locations 2025-10-29 12:35:02 +01:00
pg_surgery Fix some confusing uses of const 2025-10-30 11:20:04 +01:00
pg_trgm
pg_visibility Improve TAP tests by replacing ok() with better Test::More functions 2025-10-17 14:39:09 +09:00
pg_walinspect Use XLogRecPtrIsValid() in various places 2025-11-06 20:33:57 +01:00
pgcrypto Remove useless casting to same type 2025-12-02 10:09:32 +01:00
pgrowlocks
pgstattuple pgstattuple: Improve reports generated for indexes (hash, gist, btree) 2025-10-02 11:07:30 +09:00
postgres_fdw Have the planner replace COUNT(ANY) with COUNT(*), when possible 2025-11-27 10:43:28 +13:00
seg Allow redeclaration of typedef yyscan_t 2025-09-12 08:16:00 +02:00
sepgsql Update expected output for contrib/sepgsql's regression tests. 2025-10-23 17:47:10 -04:00
spi
sslinfo
start-scripts
tablefunc
tcn Use stack allocated StringInfoDatas, where possible 2025-11-06 14:59:48 +13:00
test_decoding Add slotsync skip statistics. 2025-11-25 07:06:02 +00:00
tsm_system_rows
tsm_system_time
unaccent
uuid-ossp
vacuumlo
xml2 Don't include access/htup_details.h in executor/tuptable.h 2025-10-05 18:00:38 +02:00
contrib-global.mk
Makefile
meson.build
README

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.