Re: Restore support for USE_ASSERT_CHECKING in extensions only
Andrew Kane <andrew@ankane.org>
From: Andrew Kane <andrew@ankane.org>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: David Rowley <dgrowleyml@gmail.com>, pgsql-hackers@postgresql.org
Date: 2025-01-10T23:55:53Z
Lists: pgsql-hackers
Attachments
- v2-0001-Restore-support-for-USE_ASSERT_CHECKING-in-extens.patch (application/x-patch) patch v2-0001
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). Also, it looks like it fails when creating the extension / loading the shared library (on Ubuntu), not when linking (as I misstated earlier).
Commits
-
Make verify_compact_attribute available in non-assert builds
- 34c6e652425f 18.0 landed