Re: doc: improve PG 12 to_timestamp()/to_date() wording

Поиск
Список
Период
Сортировка
От Justin Pryzby
Тема Re: doc: improve PG 12 to_timestamp()/to_date() wording
Дата
Msg-id 20190501001403.GN3925@telsasoft.com
обсуждение исходный текст
Ответ на Re: doc: improve PG 12 to_timestamp()/to_date() wording  (Alexander Korotkov <a.korotkov@postgrespro.ru>)
Ответы Re: doc: improve PG 12 to_timestamp()/to_date() wording  (Justin Pryzby <pryzby@telsasoft.com>)
Список pgsql-hackers
On Tue, Apr 30, 2019 at 09:48:14PM +0300, Alexander Korotkov wrote:
> I'd like to add couple of comments from my side.

> > -       returns an error because the second template string space is consumed
> > -       by the letter <literal>J</literal> in the input string.
> > +       returns an error because the second space in the template string consumes
> > +       the letter <literal>M</literal> from the input string.
> 
> Why <literal>M</literal>?  There is no letter "M" is input string.
> The issue here is that we already consumed "J" from "JUN" and trying
> to match "UN" to "MON".  So, I think we should live
> <literal>J</literal> here.  The rest of this change looks good.

Seems like I confused myself while resolving rebase conflict.

Thanks for checking.

Justin



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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: clean up docs for v12
Следующее
От: Melanie Plageman
Дата:
Сообщение: Adding a test for speculative insert abort case