pgsql: Make AssertPointerAlignment available to frontend code

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Make AssertPointerAlignment available to frontend code
Date: 2022-11-03 16:04:35
Message-ID: E1oqchn-000H0n-Jw@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Make AssertPointerAlignment available to frontend code

We don't need separate definitions for frontend and backend, since the
contained Assert() will take care of the difference. So this also
makes it simpler overall.

Reviewed-by: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Reviewed-by: Michael Paquier <michael(at)paquier(dot)xyz>
Discussion: https://www.postgresql.org/message-id/f64365b1-d5f9-ef83-41fe-404810f10e5a@enterprisedb.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/2fe4c7384f469e077928cd40fa1da4bd05598f1f

Modified Files
--------------
src/include/c.h | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2022-11-03 19:41:59 pgsql: Create FKs properly when attaching table as partition
Previous Message Tom Lane 2022-11-03 16:02:25 pgsql: Avoid crash after function syntax error in a replication worker.