postgresql/src/backend
Andres Freund 93ca02e005 Mark constantly allocated dest receiver as const.
This allows the compiler / linker to mark affected pages as read-only.

Doing so requires casting constness away, as CreateDestReceiver()
returns both constant and non-constant dest receivers. That's fine
though, as any modification of the statically allocated receivers
would already have been a bug (and would now be caught on some
platforms).

Discussion: https://postgr.es/m/20181015200754.7y7zfuzsoux2c4ya@alap3.anarazel.de
2018-10-16 12:05:50 -07:00
..
access Move TupleTableSlots boolean member into one flag variable. 2018-10-15 18:23:25 -07:00
bootstrap Install a check for mis-linking of src/port and src/common functions. 2018-09-09 12:23:23 -04:00
catalog Correct constness of system attributes in heap.c & prerequisites. 2018-10-16 09:44:43 -07:00
commands Correct constness of a few variables. 2018-10-15 21:01:14 -07:00
executor Correct constness of system attributes in heap.c & prerequisites. 2018-10-16 09:44:43 -07:00
foreign Correct constness of a few variables. 2018-10-15 21:01:14 -07:00
jit Move TupleTableSlots boolean member into one flag variable. 2018-10-15 18:23:25 -07:00
lib Implement %m in src/port/snprintf.c, and teach elog.c to rely on that. 2018-09-26 13:31:56 -04:00
libpq Correct constness of a few variables. 2018-10-15 21:01:14 -07:00
main Update copyright for 2018 2018-01-02 23:30:12 -05:00
nodes Correct attach/detach logic for FKs in partitions 2018-10-12 12:37:37 -03:00
optimizer Correct constness of system attributes in heap.c & prerequisites. 2018-10-16 09:44:43 -07:00
parser Correct constness of system attributes in heap.c & prerequisites. 2018-10-16 09:44:43 -07:00
partitioning Centralize executor's opening/closing of Relations for rangetable entries. 2018-10-04 14:03:42 -04:00
po Translation updates 2018-06-25 12:37:18 +02:00
port Convert elog.c's useful_strerror() into a globally-used strerror wrapper. 2018-09-26 11:06:42 -04:00
postmaster Add application_name to connection authorized msg 2018-09-28 19:04:50 -04:00
regex Clean up warnings from -Wimplicit-fallthrough. 2018-05-01 19:35:08 -04:00
replication Correct constness of a few variables. 2018-10-15 21:01:14 -07:00
rewrite Change rewriter/planner/executor/plancache to depend on RTE rellockmode. 2018-10-02 14:43:09 -04:00
snowball Sync our Snowball stemmer dictionaries with current upstream. 2018-09-24 17:29:38 -04:00
statistics Fix typos. 2018-08-27 09:32:59 +12:00
storage Correct constness of a few variables. 2018-10-15 21:01:14 -07:00
tcop Mark constantly allocated dest receiver as const. 2018-10-16 12:05:50 -07:00
tsearch Hand code string to integer conversion for performance. 2018-07-22 14:58:23 -07:00
utils Be smarter about age-counter overflow in formatting.c caches. 2018-10-16 14:57:14 -04:00
.gitignore Add .gitignore entries for AIX-specific intermediate build artifacts. 2015-07-08 20:44:22 -04:00
common.mk Remove PARTIAL_LINKING build mode. 2018-03-30 17:33:04 -07:00
Makefile Refactor dlopen() support 2018-09-06 11:33:04 +02:00
nls.mk Translation updates 2018-06-25 12:37:18 +02:00