postgresql/src/backend
Andres Freund 3bdcf6a5a7 Don't allow to disable backend assertions via the debug_assertions GUC.
The existance of the assert_enabled variable (backing the
debug_assertions GUC) reduced the amount of knowledge some static code
checkers (like coverity and various compilers) could infer from the
existance of the assertion. That could have been solved by optionally
removing the assertion_enabled variable from the Assert() et al macros
at compile time when some special macro is defined, but the resulting
complication doesn't seem to be worth the gain from having
debug_assertions. Recompiling is fast enough.

The debug_assertions GUC is still available, but readonly, as it's
useful when diagnosing problems. The commandline/client startup option
-A, which previously also allowed to enable/disable assertions, has
been removed as it doesn't serve a purpose anymore.

While at it, reduce code duplication in bufmgr.c and localbuf.c
assertions checking for spurious buffer pins. That code had to be
reindented anyway to cope with the assert_enabled removal.
2014-06-20 11:09:17 +02:00
..
access Don't allow to disable backend assertions via the debug_assertions GUC. 2014-06-20 11:09:17 +02:00
bootstrap Revert "Fix bogus %name-prefix option syntax in all our Bison files." 2014-05-28 19:21:01 -04:00
catalog Fix typos in comments. 2014-06-11 19:50:29 -04:00
commands Don't allow to disable backend assertions via the debug_assertions GUC. 2014-06-20 11:09:17 +02:00
executor Avoid leaking memory while evaluating arguments for a table function. 2014-06-19 22:14:26 -04:00
foreign
lib pgindent run for 9.4 2014-05-06 12:12:18 -04:00
libpq Rename lo_create(oid, bytea) to lo_from_bytea(). 2014-06-12 15:39:09 -04:00
main Make fallback implementation of pg_memory_barrier() work. 2014-05-17 18:29:46 -04:00
nodes Implement UPDATE tab SET (col1,col2,...) = (SELECT ...), ... 2014-06-18 13:22:34 -04:00
optimizer Implement UPDATE tab SET (col1,col2,...) = (SELECT ...), ... 2014-06-18 13:22:34 -04:00
parser Implement UPDATE tab SET (col1,col2,...) = (SELECT ...), ... 2014-06-18 13:22:34 -04:00
po Translation updates 2014-05-10 22:16:59 -04:00
port Fix weird spacing in error message. 2014-06-18 15:44:35 -04:00
postmaster Don't allow to disable backend assertions via the debug_assertions GUC. 2014-06-20 11:09:17 +02:00
regex pgindent run for 9.4 2014-05-06 12:12:18 -04:00
replication Consistency improvements for slot and decoding code. 2014-06-12 13:33:27 +02:00
rewrite Implement UPDATE tab SET (col1,col2,...) = (SELECT ...), ... 2014-06-18 13:22:34 -04:00
snowball Fix ancient encoding error in hungarian.stop. 2014-06-10 22:48:16 -04:00
storage Don't allow to disable backend assertions via the debug_assertions GUC. 2014-06-20 11:09:17 +02:00
tcop Don't allow to disable backend assertions via the debug_assertions GUC. 2014-06-20 11:09:17 +02:00
tsearch pgindent run for 9.4 2014-05-06 12:12:18 -04:00
utils Don't allow to disable backend assertions via the debug_assertions GUC. 2014-06-20 11:09:17 +02:00
.gitignore
common.mk
Makefile
nls.mk