From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Bharath Rupireddy <bharath(dot)rupireddyforpostgres(at)gmail(dot)com> |
Cc: | Alexander Korotkov <akorotkov(at)postgresql(dot)org>, Andres Freund <andres(at)anarazel(dot)de>, pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | Re: pgsql: Add support event triggers on authenticated login |
Date: | 2024-01-12 02:55:19 |
Message-ID: | 375043.1705028119@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers pgsql-hackers |
Bharath Rupireddy <bharath(dot)rupireddyforpostgres(at)gmail(dot)com> writes:
> Hi, I'm seeing a compiler warning with CFLAGS -O3 but not with -O2.
> In file included from dbcommands.c:20:
> dbcommands.c: In function ‘createdb’:
> ../../../src/include/postgres.h:104:16: warning: ‘src_hasloginevt’ may
> be used uninitialized in this function [-Wmaybe-uninitialized]
Hmm, I also see that at -O3 (not at -O2) when using Fedora 39's
gcc 13.2.1, but *not* when using RHEL8's gcc 8.5.0.
I'm not sure how excited I am about curing that, though, because gcc
13.2.1 spews several other totally baseless warnings (see attached).
Some of them match up with warnings we're seeing on buildfarm member
serinus, which I seem to recall that Andres had tracked to a known gcc
bug.
regards, tom lane
Attachment | Content-Type | Size |
---|---|---|
gcc-13-2-1-warnings.txt | text/plain | 4.6 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2024-01-12 03:05:44 | pgsql: Refactor code checking for file existence |
Previous Message | Bharath Rupireddy | 2024-01-12 01:58:26 | Re: pgsql: Add support event triggers on authenticated login |
From | Date | Subject | |
---|---|---|---|
Next Message | Kyotaro Horiguchi | 2024-01-12 02:56:11 | Re: initdb --no-locale=C doesn't work as specified when the environment is not C |
Previous Message | Peter Smith | 2024-01-12 02:49:39 | Re: Improve the connection failure error messages |