Hello

2013/12/17 Pavel Stehule <pavel.steh...@gmail.com>

>
>
>
> 2013/12/17 Tom Lane <t...@sss.pgh.pa.us>
>
>> Alvaro Herrera <alvhe...@2ndquadrant.com> writes:
>> > Yeah, I think a constructor should allow a text timezone.
>>
>> Yes.  I think a numeric timezone parameter is about 99% useless,
>> and if you do happen to need that behavior you can just cast the
>> numeric to text no?
>
>
> yes, it is possible. Although fully numeric API is much more consistent.
>
>
I was wrong - there are timezones with minutes like Iran = '1:30';

so int in hours is bad type - so only text is probably best

Pavel


> Pavel
>
>
>>
>>                         regards, tom lane
>>
>
>

Reply via email to