initdb: introduce PG_CMD_PRINTF intestead of PG_CMD_PRINTF{1,2,3}

Поиск
Список
Период
Сортировка
От Alexander Kuleshov
Тема initdb: introduce PG_CMD_PRINTF intestead of PG_CMD_PRINTF{1,2,3}
Дата
Msg-id CANCZXo6de60+6fohGe_1DhHvr=7r7o__UGU8q+7jsgW8nEzVPQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: initdb: introduce PG_CMD_PRINTF intestead of PG_CMD_PRINTF{1,2,3}  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Hello all,

The src/bin/initdb/initdb.c provides three macros to write data to
cmdfd. All of these macro do the same, but with different amount of
arguments for fprintf().

Attached patch introduces PG_CMD_PRINTF macro which will take set of
variadic arguments via __VA_ARGS__ to replace the PG_CMD_PRINTF{1,2,3}
macros.

Any objections?

Вложения

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

Предыдущее
От: Tomas Vondra
Дата:
Сообщение: Re: Combining Aggregates
Следующее
От: David Rowley
Дата:
Сообщение: Re: Parallel Aggregate