postgresql/src
Peter Eisentraut d78d452bc5 Improve Assert output
If an assertion expression contained a macro, the failed assertion
message would print the expanded macro, which is usually unhelpful and
confusing.  Restructure the Assert macros to not expand any macros
when constructing the failure message.

This also fixes that the existing output for Assert et al. shows
the *inverted* condition, which is also confusing and not how
assertions usually work.

Discussion: https://www.postgresql.org/message-id/flat/6c68efe3-117a-dcc1-73d4-18ba1ec532e2%402ndquadrant.com
2019-08-17 12:50:50 +02:00
..
backend Add default_table_access_method to postgresql.conf.sample. 2019-08-16 15:24:22 -07:00
bin initdb: Remove obsolete locale handling 2019-08-14 06:51:13 +02:00
common Refactor logic to remove trailing CR/LF characters from strings 2019-08-09 11:05:14 +09:00
fe_utils Fix memory leak coming from simple lists built in reindexdb 2019-07-30 10:54:48 +09:00
include Improve Assert output 2019-08-17 12:50:50 +02:00
interfaces Fix inconsistencies and typos in the tree, take 10 2019-08-13 13:53:41 +09:00
makefiles Remove support for non-ELF BSD systems 2019-07-01 23:56:20 +01:00
pl Fix plpgsql to re-look-up composite type names at need. 2019-08-15 15:21:47 -04:00
port Fix inconsistencies and typos in the tree, take 10 2019-08-13 13:53:41 +09:00
template Yet further rethinking of build changes for macOS Mojave. 2018-11-02 18:54:00 -04:00
test Add missing fmgr.h include. 2019-08-16 15:19:50 -07:00
timezone Fix inconsistencies and typos in the tree, take 10 2019-08-13 13:53:41 +09:00
tools Fix inconsistencies and typos in the tree, take 10 2019-08-13 13:53:41 +09:00
tutorial Phase 2 pgindent run for v12. 2019-05-22 13:04:48 -04:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
DEVELOPERS Replace a couple of references to files that no longer exist in the source 2009-05-04 08:08:47 +00:00
Makefile Fix partial-build problems introduced by having more generated headers. 2018-04-09 16:42:10 -04:00
Makefile.global.in Fix inconsistencies and typos in the tree 2019-07-29 12:28:30 +09:00
Makefile.shlib Remove support for non-ELF BSD systems 2019-07-01 23:56:20 +01:00
nls-global.mk Move logging.h and logging.c from src/fe_utils/ to src/common/. 2019-05-14 14:20:10 -04:00