Re: [DOCS] Add example about date ISO format

Поиск
Список
Период
Сортировка
От Erik Wienhold
Тема Re: [DOCS] Add example about date ISO format
Дата
Msg-id lpj35vsvlgkyuhovitnkoluu2wshd2j6flzpdvuunqezrvgb24@uhskknynuu6l
обсуждение исходный текст
Ответ на Re: [DOCS] Add example about date ISO format  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: [DOCS] Add example about date ISO format  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Список pgsql-docs
On 2023-11-24 18:29 +0100, Bruce Momjian wrote:
> On Thu, Nov 23, 2023 at 09:29:39AM +0100, Laurenz Albe wrote:
> > On Wed, 2023-11-22 at 11:58 -0500, Bruce Momjian wrote:
> > > Okay, I moved it into the "Note" section that talked about ISO 8601
> > > output with "T", in the attached patch.
> > 
> > Fine by me, except that I would rather have "returns" or "produces"
> > instead of the questionable verb "outputs".
> 
> The majority of people seem to want it in table 9.31, so I have moved it
> there.

Fine by me.

> It does almost double the width of the displayed table though. 
> You can see the new output here:
> 
>     https://momjian.us/tmp/pgsql/functions-formatting.html#FUNCTIONS-FORMATTING-EXAMPLES-TABLE
> 
> Patch attached.

Two issues that I fixed in the attached patch:

* the time zone was missing from the result output
* it's called "extended format" not "T format" (the "T" is mandatory
  anyway)

-- 
Erik

Вложения

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

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: Table-space documentation
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: [DOCS] Add example about date ISO format