postgresql/src
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
..
backend Don't allow to disable backend assertions via the debug_assertions GUC. 2014-06-20 11:09:17 +02:00
bin Use type pgsocket for Windows pipe emulation socket calls 2014-06-16 15:24:38 -04:00
common
include Don't allow to disable backend assertions via the debug_assertions GUC. 2014-06-20 11:09:17 +02:00
interfaces Let installcheck-world pass against a server requiring a password. 2014-06-19 21:41:26 -04:00
makefiles Consistently define BUILDING_DLL during builds of src/port for Windows. 2014-06-11 19:50:41 -04:00
pl Make plpython_unicode regression test work in more database encodings. 2014-06-03 12:01:54 -04:00
port Add mkdtemp() to libpgport. 2014-06-14 09:41:13 -04:00
template Have configuration templates augment, not replace, LDFLAGS. 2014-06-11 19:50:57 -04:00
test Implement UPDATE tab SET (col1,col2,...) = (SELECT ...), ... 2014-06-18 13:22:34 -04:00
timezone
tools Fix the MSVC build process for uuid-ossp. 2014-06-18 09:21:50 -04:00
tutorial
.gitignore
bcc32.mak
DEVELOPERS
Makefile
Makefile.global.in Support BSD and e2fsprogs UUID libraries alongside OSSP UUID library. 2014-05-27 19:42:08 -04:00
Makefile.shlib
nls-global.mk
win32.mak