Make AssertPointerAlignment available to frontend code

Peter Eisentraut <peter@eisentraut.org>

Commit: 2fe4c7384f469e077928cd40fa1da4bd05598f1f
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2022-11-03T16:04:22Z
Releases: 16.0
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@sss.pgh.pa.us>
Reviewed-by: Michael Paquier <michael@paquier.xyz>
Discussion: https://www.postgresql.org/message-id/f64365b1-d5f9-ef83-41fe-404810f10e5a@enterprisedb.com

Files

PathChange+/−
src/include/c.h modified +2 −4

Discussion