Change seconds argument of make_*() functions to numeric

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Change seconds argument of make_*() functions to numeric
Дата
Msg-id 45bae535-7526-ca5c-ac43-2786bc571577@enterprisedb.com
обсуждение исходный текст
Ответы Re: Change seconds argument of make_*() functions to numeric  (Pavel Stehule <pavel.stehule@gmail.com>)
Re: Change seconds argument of make_*() functions to numeric  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Along with the discussed change of the return type of EXTRACT from 
float8 to numeric [0], I was looking around what other date/time APIs 
might be using float arguments or return values.  The only thing left 
appears to be the functions make_time, make_timestamp, make_timestamptz, 
and make_interval, which take an argument specifying the seconds, which 
has type float8 right now.  I'm proposing the attached patch to change 
that to numeric.

Can we change the arguments, as proposed here, or do we need to add 
separate overloaded versions and leave the existing versions in place?

[0]: 
https://www.postgresql.org/message-id/flat/42b73d2d-da12-ba9f-570a-420e0cce19d9@phystech.edu

Вложения

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

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: Proposed patch for key managment
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: Change seconds argument of make_*() functions to numeric