pgsql: Don't require users of src/port/gettimeofday.c to initialize it.

Поиск
Список
Период
Сортировка
От Robert Haas
Тема pgsql: Don't require users of src/port/gettimeofday.c to initialize it.
Дата
Msg-id E1YPDj7-0004HV-MD@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Don't require users of src/port/gettimeofday.c to initialize it.

Commit 8001fe67a3d66c95861ce1f7075ef03953670d13 introduced this
requirement, but per discussion, we want to avoid requirements of
this type to make things easier on the calling code.  An especially
important consideration is that this may be used in frontend code,
not just the backend.

Asif Naeem, reviewed by Michael Paquier

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/64235fecc6d377690444ca3702257b5e39ed3413

Modified Files
--------------
src/backend/main/main.c |    6 ------
src/include/port.h      |    2 --
src/port/gettimeofday.c |   20 ++++++++++++--------
3 files changed, 12 insertions(+), 16 deletions(-)


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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: pgsql: Use FLEXIBLE_ARRAY_MEMBER in a bunch more places.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix misparsing of empty value in conninfo_uri_parse_params().