postgresql/src/bin/pg_dump
Peter Geoghegan 612a1ab767 Add equalimage B-Tree support functions.
Invent the concept of a B-Tree equalimage ("equality implies image
equality") support function, registered as support function 4.  This
indicates whether it is safe (or not safe) to apply optimizations that
assume that any two datums considered equal by an operator class's order
method must be interchangeable without any loss of semantic information.
This is static information about an operator class and a collation.

Register an equalimage routine for almost all of the existing B-Tree
opclasses.  We only need two trivial routines for all of the opclasses
that are included with the core distribution.  There is one routine for
opclasses that index non-collatable types (which returns 'true'
unconditionally), plus another routine for collatable types (which
returns 'true' when the collation is a deterministic collation).

This patch is infrastructure for an upcoming patch that adds B-Tree
deduplication.

Author: Peter Geoghegan, Anastasia Lubennikova
Discussion: https://postgr.es/m/CAH2-Wzn3Ee49Gmxb7V1VJ3-AC8fWn-Fr8pfWQebHe8rYRxt5OQ@mail.gmail.com
2020-02-26 11:28:25 -08:00
..
po Translation updates 2019-06-17 15:30:20 +02:00
t Add equalimage B-Tree support functions. 2020-02-26 11:28:25 -08:00
.gitignore Clean up after pg_dump test runs. 2016-05-06 22:28:01 -04:00
common.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
compress_io.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
compress_io.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00
dumputils.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
dumputils.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00
Makefile Update copyrights for 2020 2020-01-01 12:21:45 -05:00
nls.mk Fix gettext triggers specification 2019-08-26 19:06:01 +02:00
parallel.c Fix parallel pg_dump/pg_restore for failure to create worker processes. 2020-01-31 14:41:49 -05:00
parallel.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00
pg_backup.h Remove unused C structure member 2019-07-08 19:31:16 -04:00
pg_backup_archiver.c Assume that we have functional, 64-bit fseeko()/ftello(). 2020-02-21 14:30:47 -05:00
pg_backup_archiver.h Make the order of the header file includes consistent. 2019-11-25 08:08:57 +05:30
pg_backup_custom.c Remove useless "return;" lines 2019-11-28 16:48:37 -03:00
pg_backup_db.c Make the order of the header file includes consistent in non-backend modules. 2019-10-25 07:41:52 +05:30
pg_backup_db.h Phase 2 pgindent run for v12. 2019-05-22 13:04:48 -04:00
pg_backup_directory.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
pg_backup_null.c Remove useless "return;" lines 2019-11-28 16:48:37 -03:00
pg_backup_tar.c Remove useless "return;" lines 2019-11-28 16:48:37 -03:00
pg_backup_tar.h Fix tar files emitted by pg_dump and pg_basebackup to be POSIX conformant. 2012-09-28 15:19:15 -04:00
pg_backup_utils.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
pg_backup_utils.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00
pg_dump.c Teach pg_dump to dump comments on RLS policy objects. 2020-02-17 18:40:02 -05:00
pg_dump.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00
pg_dump_sort.c Add declaration-level assertions for compile-time checks 2020-02-03 14:48:42 +09:00
pg_dumpall.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
pg_restore.c Make the order of the header file includes consistent in non-backend modules. 2019-10-25 07:41:52 +05:30