Re: Restore support for USE_ASSERT_CHECKING in extensions only

From: Andrew Kane <andrew(at)ankane(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: David Rowley <dgrowleyml(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Restore support for USE_ASSERT_CHECKING in extensions only
Date: 2025-01-10 23:55:53
Message-ID: CAOdR5yHzyqAj_E7kU+_LURG6+dy=V0zLENMnwUbtxndwP1ODFg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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).

Attachment Content-Type Size
v2-0001-Restore-support-for-USE_ASSERT_CHECKING-in-extens.patch application/x-patch 1.8 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David Rowley 2025-01-10 23:56:29 Re: Restore support for USE_ASSERT_CHECKING in extensions only
Previous Message Tom Lane 2025-01-10 23:48:08 Re: Restore support for USE_ASSERT_CHECKING in extensions only