about EncodeDateTime() arguments

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема about EncodeDateTime() arguments
Дата
Msg-id 1331419165.23793.4.camel@vanquo.pezone.net
обсуждение исходный текст
Ответы Re: about EncodeDateTime() arguments
Список pgsql-hackers
We currently have

void EncodeDateTime(struct pg_tm * tm, fsec_t fsec, int *tzp, char **tzn, int style, char *str)

but tzn isn't used anywhere, only *tzn is used everywhere.  Wouldn't it
be clearer to remove that one level of indirection and instead have the
signature be

void EncodeDateTime(struct pg_tm * tm, fsec_t fsec, int *tzp, char *tzn, int style, char *str)

or better yet

void EncodeDateTime(struct pg_tm * tm, fsec_t fsec, const int *tzp, const char *tzn, int style, char *str)





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

Предыдущее
От: Yeb Havinga
Дата:
Сообщение: Re: [v9.2] Add GUC sepgsql.client_label
Следующее
От: Peter Geoghegan
Дата:
Сообщение: Re: Is it time for triage on the open patches?