postgresql/src/include
Tom Lane aeb1631ed2 Mostly-cosmetic adjustments of TOAST-related macros.
The authors of bbe0a81db hadn't quite got the idea that macros named
like SOMETHING_4B_C were only meant for internal endianness-related
details in postgres.h.  Choose more legible names for macros that are
intended to be used elsewhere.  Rearrange postgres.h a bit to clarify
the separation between those internal macros and ones intended for
wider use.

Also, avoid using the term "rawsize" for true decompressed size;
we've used "extsize" for that, because "rawsize" generally denotes
total Datum size including header.  This choice seemed particularly
unfortunate in tests that were comparing one of these meanings to
the other.

This patch includes a couple of not-purely-cosmetic changes: be
sure that the shifts aligning compression methods are unsigned
(not critical today, but will be when compression method 2 exists),
and fix broken definition of VARATT_EXTERNAL_GET_COMPRESSION (now
VARATT_EXTERNAL_GET_COMPRESS_METHOD), whose callers worked only
accidentally.

Discussion: https://postgr.es/m/574197.1616428079@sss.pgh.pa.us
2021-03-22 13:43:10 -04:00
..
access Mostly-cosmetic adjustments of TOAST-related macros. 2021-03-22 13:43:10 -04:00
bootstrap Update copyright for 2021 2021-01-02 13:06:25 -05:00
catalog Allow configurable LZ4 TOAST compression. 2021-03-19 15:10:38 -04:00
commands Add support for more progress reporting in COPY 2021-03-09 14:21:03 +09:00
common Improve reporting for syntax errors in multi-line JSON data. 2021-03-01 16:44:17 -05:00
datatype Update copyright for 2021 2021-01-02 13:06:25 -05:00
executor Revert "Fix race in Parallel Hash Join batch cleanup." 2021-03-18 01:10:55 +13:00
fe_utils Refactor and generalize the ParallelSlot machinery. 2021-03-11 13:17:46 -05:00
foreign Implement support for bulk inserts in postgres_fdw 2021-01-20 23:57:27 +01:00
jit Update copyright for 2021 2021-01-02 13:06:25 -05:00
lib Add sort_template.h for making sort functions. 2021-03-03 17:02:22 +13:00
libpq Remove support for SSL compression 2021-03-09 11:16:47 +09:00
mb Add mbverifystr() functions specific to each encoding. 2021-01-28 14:40:07 +02:00
nodes Allow configurable LZ4 TOAST compression. 2021-03-19 15:10:38 -04:00
optimizer Add a new GUC and a reloption to enable inserts in parallel-mode. 2021-03-18 07:25:27 +05:30
parser Allow configurable LZ4 TOAST compression. 2021-03-19 15:10:38 -04:00
partitioning Remove [Merge]AppendPath.partitioned_rels. 2021-02-01 14:43:54 -05:00
port Add missing pthread_barrier_t. 2021-03-10 17:44:04 +13:00
portability Fix another portability bug in recent pgbench commit. 2021-03-10 23:20:41 +13:00
postmaster Remove temporary files after backend crash 2021-03-18 17:38:28 +01:00
regex Improve memory management in regex compiler. 2021-02-26 13:52:10 -05:00
replication Code review for server's handling of "tablespace map" files. 2021-03-17 16:18:46 -04:00
rewrite SEARCH and CYCLE clauses 2021-02-01 14:32:51 +01:00
snowball Update snowball 2021-02-19 08:10:15 +01:00
statistics Update copyright for 2021 2021-01-02 13:06:25 -05:00
storage Provide recovery_init_sync_method=syncfs. 2021-03-20 12:07:28 +13:00
tcop Remove server and libpq support for old FE/BE protocol version 2. 2021-03-04 10:45:55 +02:00
tsearch Don't leak compiled regex(es) when an ispell cache entry is dropped. 2021-03-18 22:22:47 -04:00
utils Add a new GUC and a reloption to enable inserts in parallel-mode. 2021-03-18 07:25:27 +05:30
.gitignore
c.h Work around issues in MinGW-64's setjmp/longjmp support. 2021-03-15 12:34:17 -04:00
fmgr.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
funcapi.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
getaddrinfo.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
getopt_long.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
Makefile Build in some knowledge about foreign-key relationships in the catalogs. 2021-02-02 17:11:55 -05:00
miscadmin.h Make archiver process an auxiliary process. 2021-03-15 13:13:14 +09:00
pg_config_ext.h.in
pg_config_manual.h Fix concurrency issues with WAL segment recycling on Windows 2021-03-22 14:02:26 +09:00
pg_config.h.in Remove useless configure probe for <lz4/lz4.h>. 2021-03-22 11:20:44 -04:00
pg_getopt.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
pg_trace.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
pgstat.h Revert "Fix race in Parallel Hash Join batch cleanup." 2021-03-18 01:10:55 +13:00
pgtar.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
pgtime.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
port.h pg_upgrade: Check version of target cluster binaries 2021-03-03 09:45:56 +01:00
postgres_ext.h
postgres_fe.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
postgres.h Mostly-cosmetic adjustments of TOAST-related macros. 2021-03-22 13:43:10 -04:00
rusagestub.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
windowapi.h Update copyright for 2021 2021-01-02 13:06:25 -05:00