Re: to_char(interval, text) deprecated in future - how do we get consistent interval output without it?

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: to_char(interval, text) deprecated in future - how do we get consistent interval output without it?
Дата
Msg-id 20050115091313.GB27243@wolff.to
обсуждение исходный текст
Ответ на to_char(interval, text) deprecated in future - how do we get consistent interval output without it?  (SCassidy@overlandstorage.com)
Список pgsql-general
On Fri, Jan 14, 2005 at 11:36:26 -0800,
  SCassidy@overlandstorage.com wrote:
> I saw the note in the docs that to_char(interval, text) is deprecated, and
> will be removed.  I searched the archives and saw more mentions of this,
> but no real explanation as to how it is planned for us to get consistent
> output formatting when querying a column containing interval data.

You can use EXTRACT.

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

Предыдущее
От: PFC
Дата:
Сообщение: Re: OID Usage
Следующее
От: Bruno Wolff III
Дата:
Сообщение: Re: serial increments on failed insert