Thanks Alvaro, for the info…

Hi Team,
We referred to the below links to build this patch …
https://wiki.postgresql.org/wiki/Submitting_a_Patch
https://peter.eisentraut.org/blog/2023/05/09/how-to-submit-a-patch-by-email-2023-edition

Please find the attached patch.

Apart from the AIX specific changes, there is a minor change in this file wrt 
to XLC, below is the error for which we removed inline.
Later, the build and tests passed for both XLC(16.1.0.18) and gcc(12) as well.

  src/backend/storage/buffer/bufmgr.c

  "bufmgr.c", line 811.39: 1506-780 (S) Reference to "RelationGetSmgr" with 
internal linkage is not allowed within inline definition of 
"ReadBufferExtended".
  "bufmgr.c", line 811.15: 1506-780 (S) Reference to "ReadBuffer_common" with 
internal linkage is not allowed within inline definition of 
"ReadBufferExtended".
  gmake[4]: *** [<builtin>: bufmgr.o] Error 1


Please let us know your feedback.

Thanks,
Sriram.

Attachment: 0001-AIX-support-revert-the-changes-from-0b16bb8776bb8.patch
Description: 0001-AIX-support-revert-the-changes-from-0b16bb8776bb8.patch

Reply via email to