From: | Thomas Munro <tmunro(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Fix C error reported by Oracle compiler. |
Date: | 2025-01-08 04:14:35 |
Message-ID: | E1tVNSl-000RXE-07@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Fix C error reported by Oracle compiler.
Commit 66aaabe7 (branches 13 - 17 only) was not acceptable to the Oracle
Developer Studio compiler on build farm animal wrasse. It accidentally
used a C++ style return statement to wrap a void function. None of the
usual compilers complained, but it is right, that is not allowed in C.
Fix.
Reported-by: Michael Paquier <michael(at)paquier(dot)xyz>
Discussion: https://postgr.es/m/Z33vgfVgvOnbFLN9%40paquier.xyz
Branch
------
REL_13_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/417d41c658b30bbfe8ef9db624e4a8125e6225d1
Modified Files
--------------
src/backend/storage/smgr/smgr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2025-01-08 04:18:00 | pgsql: pg_freespacemap: Fix declaration of pg_freespace(regclass) |
Previous Message | Thomas Munro | 2025-01-08 04:13:10 | pgsql: Fix C error reported by Oracle compiler. |