Re: Simplifying our Trap/Assert infrastructure
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Cc: Nathan Bossart <nathandbossart@gmail.com>, Tom Lane <tgl@sss.pgh.pa.us>, pgsql-hackers@lists.postgresql.org
Date: 2022-10-27T07:23:53Z
Lists: pgsql-hackers
On Wed, Oct 12, 2022 at 09:19:17PM +0200, Peter Eisentraut wrote: > I'm in favor of this. These variants are a distraction. Agreed, even if extensions could use these, it looks like any out-of-core code using what's removed here would also gain in clarity. This is logically fine (except for an indentation blip in miscadmin.h?), so I have marked this entry as ready for committer. Side note, rather unrelated to what's proposed here: would it be worth extending AssertPointerAlignment() for the frontend code? -- Michael
Commits
-
Make AssertPointerAlignment available to frontend code
- 2fe4c7384f46 16.0 landed
-
Remove AssertArg and AssertState
- b1099eca8f38 16.0 landed
-
Simplify our Assert infrastructure a little.
- 235eb4db9879 16.0 landed