Re: Areas for Solaris support modernization

From: "Greg Burd" <greg(at)burd(dot)me>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "PostgreSQL Hackers" <pgsql-hackers(at)lists(dot)postgresql(dot)org>, "Thomas Munro" <thomas(dot)munro(at)gmail(dot)com>
Subject: Re: Areas for Solaris support modernization
Date: 2026-03-12 21:19:13
Message-ID: efc0bfb6-9497-4c6d-9cd6-05fa7f923a60@app.fastmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


On Thu, Mar 12, 2026, at 11:07 AM, Tom Lane wrote:
> "Greg Burd" <greg(at)burd(dot)me> writes:
>> errfinish+0x288(1008310c9, 70f, 100832730, 100bff148, 100bff208, 0)
>> ...
>> aclitemout+0xf4(100cfa668, 1, 0, 100cfa10f, 100cfa600, 100cf9960)
>> FunctionCall1Coll+0x2c(100cfa120, 0, 100cfa600, 0, 100cfa10f, 7)
>> array_out+0x700(2, 0, 100cfa610, 100cfa650, 100cfa638, 0)
>> FunctionCall1Coll+0x2c(ffffffff7fffed00, 0, 100cfa5e8, 0, 100bff150, 2ef)
>> OidOutputFunctionCall+0x18(2ef, 100cfa5e8, 409, 100c01150, 100, ffffffff7fffed00)
>> InsertOneValue+0x2a4(100cfa058, e8, 1009a6f60, 100ccdb84, 40a, 100be5388)
>
> Oh ... you are running it at max debug level, aren't you.
> So InsertOneValue tries to print out the inserted value,
> and that doesn't work because I didn't hot-wire aclitemout
> for bootstrap mode, only aclitemin.

Hey Tom,

I'm not sure what "hot-wire" means, but I put a quick patch together that sets it to NULL when bootstrapping for now. I'm building and testing now with the *three* patches, hopefully it'll complete in < 4hrs.

> I'm away on vacation, but will fix that when I return.
> In the meantime, backing down initdb's debug level to
> something less than DEBUG4 should get you past that.

Enjoy the vacation, please ignore me and this issue until you get back. The tests might be done by then...

best.

-greg

> regards, tom lane

Attachment Content-Type Size
v20260312c-0001-Restore-PS_USE_CHANGE_ARGV-for-Solaris.patch text/x-patch 2.7 KB
v20260312c-0002-Switch-the-semaphore-API-on-Solaris-to-un.patch text/x-patch 2.5 KB
v20260312c-0003-Make-aclitemout-work-during-bootstrap-mod.patch text/x-patch 1.9 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Nathan Bossart 2026-03-12 21:20:14 Re: pg_plan_advice: rtekind uninitialized compilation waning
Previous Message Sami Imseih 2026-03-12 21:08:34 Re: Add starelid, attnum to pg_stats and leverage this in pg_dump