Re: Improve Assert output

2019-08-14 Thread Tom Lane
Peter Eisentraut writes: > This kind of output is usually not helpful: > TRAP: BadArgument("((context) != ((void *)0) && (const > Node*)((context)))->type) == T_AllocSetContext) || const > Node*)((context)))->type) == T_SlabContext) || const > Node*)((context)))->type) == T_GenerationC

Improve Assert output

2019-08-14 Thread Peter Eisentraut
SQL Development, 24x7 Support, Remote DBA, Training & Services From 7db60e612e1d26c7a1859948594c28dc3b54353e Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Wed, 14 Aug 2019 22:23:34 +0200 Subject: [PATCH] Improve Assert output If an assertion expression contained a macro, the failed assertion message w