From: | Bertrand Drouvot <bertranddrouvot(dot)pg(at)gmail(dot)com> |
---|---|
To: | pgsql-hackers(at)lists(dot)postgresql(dot)org |
Subject: | Surround CheckRelation[Oid]LockedByMe() with USE_ASSERT_CHECKING |
Date: | 2024-07-01 06:42:46 |
Message-ID: | ZoJP5kjTFbZa7gQS@ip-10-97-1-34.eu-west-3.compute.internal |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi hackers,
While working on a rebase for [1] due to 0cecc908e97, I noticed that
CheckRelationLockedByMe() and CheckRelationOidLockedByMe() are used only in
assertions.
I think it would make sense to declare / define those functions only for
assert enabled build: please find attached a tiny patch doing so.
Thoughts?
Regards,
--
Bertrand Drouvot
PostgreSQL Contributors Team
RDS Open Source Databases
Amazon Web Services: https://aws.amazon.com
Attachment | Content-Type | Size |
---|---|---|
v1-0001-Surround-CheckRelation-Oid-LockedByMe-with-USE_AS.patch | text/x-diff | 2.0 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Bharath Rupireddy | 2024-07-01 07:05:34 | Re: Surround CheckRelation[Oid]LockedByMe() with USE_ASSERT_CHECKING |
Previous Message | Masahiko Sawada | 2024-07-01 06:16:52 | Re: Conflict Detection and Resolution |