[HACKERS] ExceptionalCondition() return type

2012-04-26 Thread Peter Eisentraut
I came across this comment: /* * ExceptionalCondition - Handles the failure of an Assert() * * Note: this can't actually return, but we declare it as returning int * because the TrapMacro() macro might get wonky otherwise. */ But it seems to me that this can easily be fixed like shown

Re: [HACKERS] ExceptionalCondition() return type

2012-04-26 Thread Tom Lane
Peter Eisentraut pete...@gmx.net writes: I came across this comment: /* * ExceptionalCondition - Handles the failure of an Assert() * * Note: this can't actually return, but we declare it as returning int * because the TrapMacro() macro might get wonky otherwise. */ But it seems to