From: | François SIMON <francois(dot)simon(at)free(dot)fr> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: post-bootstrap init : permission denied pg_description |
Date: | 2024-09-13 14:15:59 |
Message-ID: | ZuRJHwbOu/wqvkgA@corindon.frsi.fr |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Le Thu, Sep 12, 2024 at 01:38:11PM -0400, Tom Lane a écrit :
> =?iso-8859-1?Q?Fran=E7ois?= SIMON <francois(dot)simon(at)free(dot)fr> writes:
> > So the problem seems to come from xlc, and only at initdb step.
> > I can see that initdb runs a backend postgres in single user mode.
> > And this is this backend, when compiled with xlc, that shows :
> > FATAL: permission denied for table pg_description
>
> Yeah. This seems like it must be an xlc code-generation bug.
> It's got nothing to do with filesystem permissions: you're failing
> an ACL check at the logical "table" level, which you should not
> be because single-user mode implies superuser permissions.
>
> We do have one buildfarm member building with 64-bit xlc on
> AIX 7.1:
>
> https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=hornet&dt=2024-09-11%2003%3A51%3A02
>
> I see that that uses a bunch of odd CFLAGS, but they look like they
> are mostly to suppress compiler warnings. Another important bit of
> the recipe for AIX is -D_LARGE_FILES=1, but I'm not sure that that
> would have any impact during initdb (since we're not dealing with
> any large files at that point).
>
> You could perhaps try different -O optimization levels. Also
> make sure your xlc is up-to-date.
Thank you for all this information.
Unfortunately I haven't obtained any better results yet.
I tried -O2, -O3, with or without -D_LARGE_FILES=1, xlc_r instead
of xlc, and all the same flags as the buildfarm member.
I will try with another version of xlc if possible.
François
>
> regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | jian he | 2024-09-13 14:42:00 | Re: Emitting JSON to file using COPY TO |
Previous Message | Karsten Hilbert | 2024-09-13 13:52:11 | Re: Reg: Size difference |