Re: output format for dates

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: output format for dates
Дата
Msg-id 200209231458.g8NEwjc12553@candle.pha.pa.us
обсуждение исходный текст
Ответ на output format for dates  (am@fx.ro)
Список pgsql-general
wsheldah@lexmark.com wrote:
>
> Will setting the DATESTYLE to ISO allow it to accept dates in the ISO
> format '2002-09-23T10:54:32', including the 'T' between the date and the
> time? I have a client app. that handles dates in that format, and currently
> I have to change the 'T' to a space before inserting or updating it into a
> table. Thanks,

Yes, I think that was added as well:

    test=> select timestamp '2002-09-23T10:54:32';
          timestamp
    ---------------------
     2002-09-23 10:54:32
    (1 row)

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

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

Предыдущее
От: "Johnson, Shaunn"
Дата:
Сообщение: rotatelog / logrotate with PostgreSQL
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [SQL] Monitoring a Query