| От | Andrew Dunstan |
|---|---|
| Тема | Re: patch: make_timestamp function |
| Дата | |
| Msg-id | 52AB67A8.3070306@dunslane.net обсуждение исходный текст |
| Ответ на | Re: patch: make_timestamp function (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | pgsql-hackers |
On 12/13/2013 02:35 PM, Tom Lane wrote: > Fabrízio de Royes Mello <fabriziomello@gmail.com> writes: >> I think the goal of the "make_date/time/timestamp" function series is build >> a date/time/timestamp from scratch, so the use of 'make_timestamptz' is to >> build a specific timestamp with timezone and don't convert it. > Yeah; we don't really want to incur an extra timezone rotation just to get > to a timestamptz. However, it's not clear to me if make_timestamptz() > needs to have an explicit zone parameter or not. It could just assume > that you meant the active timezone. > > Why not overload the function, with one version having the explicit TZ param? cheers andrew
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера