From: | Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Fix compiler warning on typedef redeclaration |
Date: | 2024-02-23 15:43:54 |
Message-ID: | E1rdXiM-000Kyx-9R@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Fix compiler warning on typedef redeclaration
bulk_write.c:78:3: error: redefinition of typedef 'BulkWriteState' is a C11 feature [-Werror,-Wtypedef-redefinition]
} BulkWriteState;
^
../../../../src/include/storage/bulk_write.h:20:31: note: previous definition is here
typedef struct BulkWriteState BulkWriteState;
^
1 error generated.
Per buildfarm animals 'sifaka' and 'longfin'.
Discussion: https://www.postgresql.org/message-id/9e1f63c3-ef16-404c-b3cb-859a96eaba39@iki.fi
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/d360e3cc60e37d6d41ee78acf7bd5cb313b978c1
Modified Files
--------------
src/backend/storage/smgr/bulk_write.c | 4 ++--
src/include/storage/bulk_write.h | 1 +
2 files changed, 3 insertions(+), 2 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2024-02-23 20:22:08 | pgsql: Avoid dangling-pointer problem with partitionwise joins under GE |
Previous Message | Heikki Linnakangas | 2024-02-23 14:26:41 | pgsql: Introduce a new smgr bulk loading facility. |