Re: Restore support for USE_ASSERT_CHECKING in extensions only
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andrew Kane <andrew@ankane.org>
Cc: David Rowley <dgrowleyml@gmail.com>, pgsql-hackers@postgresql.org
Date: 2025-01-11T00:15:09Z
Lists: pgsql-hackers
Andrew Kane <andrew@ankane.org> writes: > I've updated the patch to make verify_compact_attribute a no-op. > The extension sets USE_ASSERT_CHECKING, which is why the macro approach > doesn't work (it won't take that path). LGTM > Also, it looks like it fails when creating the extension / loading the > shared library (on Ubuntu), not when linking (as I misstated earlier). I think that on macOS and perhaps a couple of other platforms, there'd be a failure at extension link time. But yeah, most Linuxen won't tell you till load time. regards, tom lane
Commits
-
Make verify_compact_attribute available in non-assert builds
- 34c6e652425f 18.0 landed