Re: Fwd: patch: make_timestamp function

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: Fwd: patch: make_timestamp function
Дата
Msg-id CAFj8pRBPautQ2zRn6czRkN7gPcBFovb6UTg1HjiLt3nrunA6ZA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Fwd: patch: make_timestamp function  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Ответы Re: Fwd: patch: make_timestamp function  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список pgsql-hackers
Hello

updated version - a precheck is very simple, and I what I tested it is enough

Regards

Pavel




2014-02-28 15:11 GMT+01:00 Alvaro Herrera <alvherre@2ndquadrant.com>:
Pavel Stehule escribió:

> so still I prefer to allow numeric time zones.
>
> What I can:
>
> a) disallow numeric only timezone without prefix "+" or "-"
>
> or
>
> b) add "+" prefix to time zone, when number is possitive.
>
> I prefer @a.

I can live with (a) too.  But I wonder if we should restrict the allowed
tz even further, for example to say that there must always be either 2
digits (no colon) or 4 digits, with or without a colon.

--
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

Вложения

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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: ALTER TABLE lock strength reduction patch is unsafe
Следующее
От: Antonin Houska
Дата:
Сообщение: Re: Equivalence Rules