BUG #17866: behavior does not match documentation

Поиск
Список
Период
Сортировка
От PG Bug reporting form
Тема BUG #17866: behavior does not match documentation
Дата
Msg-id 17866-18eb70095b1594e2@postgresql.org
обсуждение исходный текст
Ответы Re: BUG #17866: behavior does not match documentation  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
The following bug has been logged on the website:

Bug reference:      17866
Logged by:          Евгений Жужнев
Email address:      eugeny@zhuzhnev.com
PostgreSQL version: 15.2
Operating system:   Oracle Linux 9
Description:

sudo -u postgres psql pgc
psql (15.2)
Type "help" for help.

pgc=# SELECT EXTRACT(EPOCH FROM INTERVAL '5 days 3 hours');
    extract    
---------------
 442800.000000
(1 row)
--
But in documentation we can see:
SELECT EXTRACT(EPOCH FROM INTERVAL '5 days 3 hours');
Result: 442800
https://www.postgresql.org/docs/current/functions-datetime.html


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

Предыдущее
От: Devrim Gündüz
Дата:
Сообщение: Re: BUG #17861: Disappearance of packages in repo for rhel-8
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #17864: pg_notify is publishing message twice