pgsql: Silence pedantic compiler warning introduced in ce340e530d1

Поиск
Список
Период
Сортировка
От Andres Freund
Тема pgsql: Silence pedantic compiler warning introduced in ce340e530d1
Дата
Msg-id E1pcqyp-003qRs-ID@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Silence pedantic compiler warning introduced in ce340e530d1

.../src/common/file_utils.c: In function ‘pg_pwrite_zeros’:
.../src/common/file_utils.c:543:9: warning: ‘static’ is not at beginning of declaration [-Wold-style-declaration]
  543 |         const static PGAlignedBlock zbuffer = {{0}};    /* worth BLCKSZ */

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/2b7259f855723f36d2ce81ad892583248dc1576f

Modified Files
--------------
src/common/file_utils.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Use "data directory" not "current directory" in error messages.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Tighten error checks in datetime input, and remove bogus "ISO" f