Re: text coverage for EXTRACT()

Поиск
Список
Период
Сортировка
Искать
От
Vik Fearing
Тема
Re: text coverage for EXTRACT()
Дата
Msg-id
dd0d6a59-acc9-a585-fecf-1bd8f3466ec0@postgresfriends.org
Ответ на
text coverage for EXTRACT() (Peter Eisentraut)
Список
Дерево обсуждения
text coverage for EXTRACT() Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: text coverage for EXTRACT() Vik Fearing <vik@postgresfriends.org>
Re: text coverage for EXTRACT() Tom Lane <tgl@sss.pgh.pa.us>
Re: text coverage for EXTRACT() Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
On 6/9/20 1:36 PM, Peter Eisentraut wrote:
> During the discussion in [0] I noticed that the extract()/date_part()
> variants for time, timetz, and interval had virtually no test coverage.
> So I put some more tests together, which should be useful if we decide
> to make any changes in this area per [0].


These look straightforward to me.

Looking at that big table, I see everything is 0-based except the
quarter.  That seems unfortunate, and if this were a new feature I'd
lobby to have it changed.  I don't think we can do anything about it
now, though.
-- 
Vik Fearing


В списке pgsql-hackers по дате отправления
От: Georgios
Дата:
От: Amit Kapila
Дата:
FAQ