pgsql: Consistently use named parameters in timezone code.

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема pgsql: Consistently use named parameters in timezone code.
Дата
Msg-id E1oaP2g-0016ay-Uy@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Consistently use named parameters in timezone code.

Make our copy of the IANA timezone library use named parameters in
function declarations.  Also make sure that parameter names from each
function's declaration match corresponding definition parameter names.

This makes the timezone code follow Postgres coding standards.  The
value of having a consistent standard everywhere seems to outweigh the
cost of keeping the function declarations in sync with future IANA
releases.

Author: Peter Geoghegan <pg@bowt.ie>
Reviewed-By: David Rowley <dgrowleyml@gmail.com>
Discussion: https://postgr.es/m/CAH2-WznJt9CMM9KJTMjJh_zbL5hD9oX44qdJ4aqZtjFi-zA3Tg@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/c4f8e89fef3d4cd8b0791637667fd984d6f38fb2

Modified Files
--------------
src/timezone/localtime.c | 16 +++++++++-------
src/timezone/pgtz.c      |  8 ++++----
src/timezone/strftime.c  | 10 +++++-----
src/timezone/zic.c       | 34 ++++++++++++++++++----------------
4 files changed, 36 insertions(+), 32 deletions(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: Add support for MERGE SQL command
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: Consistently use named parameters in regex code.