RE: AIX support

From: Srirama Kucherlapati <sriram(dot)rk(at)in(dot)ibm(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Peter Eisentraut <peter(at)eisentraut(dot)org>
Cc: "pgsql-hackers(at)lists(dot)postgresql(dot)org" <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Heikki Linnakangas <hlinnaka(at)iki(dot)fi>, Tristan Partin <tristan(at)partin(dot)io>, AIX PG user <postgres-ibm-aix(at)wwpdl(dot)vnet(dot)ibm(dot)com>
Subject: RE: AIX support
Date: 2026-01-27 16:21:12
Message-ID: SJ4PPFB81778326F736E5A6522BE070E80EDB90A@SJ4PPFB81778326.namprd15.prod.outlook.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi Tom,
We have tested this patch on our environment, and we see all the basic tests are passing and Postgres binary is up.

ok 226 + eager_aggregate 921 ms
# parallel group (2 tests): oidjoins event_trigger
ok 227 + oidjoins 199 ms
ok 228 + event_trigger 255 ms
ok 229 - event_trigger_login 55 ms
ok 230 - fast_default 207 ms
ok 231 - tablespace 533 ms
1..231
# All 231 tests passed.

We have set the below flags for building the source

export OBJECT_MODE=64
export FLAG64="-maix64"
export CC__=/opt/freeware/bin//gcc-12
export CXX__=/opt/freeware/bin//g++-12
export CC64="${CC__}"
export CFLAGS="${FLAG64} -O2 "
export GLOBAL_CC_OPTIONS="-O2"
export CC="${CC64} "
export LDFLAGS="-L/opt/freeware/lib64 -L/usr/lib64 -L/opt/freeware/lib -L/usr/lib -Wl,-blibpath:/opt/freeware/lib64:/opt/freeware/lib:/usr/lib:/lib"
export LDFLAGS=$LDFLAGS:/opt/freeware/lib64/perl5/5.38/CORE/:
export PYTHON=/opt/freeware/bin/python3.9
export AR='/usr/bin/ar -X64’

The patch is build on top of this commit, which is older
      commit c581c9a7ac2af2c75567013f25125bd294d49ff2

We are trying to integrate the changes to the latest HEAD
I would like to know if there are any specific environment variables are set on your build machine.

Warm regards,

Sriram.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Steve Chavez 2026-01-27 16:36:51 Add SECURITY_INVOKER_VIEWS option to CREATE DATABASE
Previous Message Robert Haas 2026-01-27 16:17:43 Re: pgsql: Prevent invalidation of newly synced replication slots.