Re: proposal: simple date constructor from numeric values

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>, Brendan Jurd <direvus(at)gmail(dot)com>
Subject: Re: proposal: simple date constructor from numeric values
Date: 2013-07-13 12:02:59
Message-ID: CAFj8pRC7cMKrBN9k=ZUuCziWbCq6de29FTZRPP8wFMdCSOeRsg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello

2013/7/12 Peter Eisentraut <peter_e(at)gmx(dot)net>:
> There is a small inconsistency:
>
> select time '12:30:57.123456789';
>
> gives
>
> 12:30:57.123457
>
> but
>
> select make_time(12, 30, 57.123456789);
>
> gives
>
> 12:30:57.123456

fixed - see attached patch

Regards

Pavel

>

Attachment Content-Type Size
make_date-v3.patch application/octet-stream 7.9 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Dmitriy Igrishin 2013-07-13 12:46:18 Re: [HACKERS] Frontend/backend protocol improvements proposal (request).
Previous Message Cédric Villemain 2013-07-13 10:52:11 Re: [Review] Re: minor patch submission: CREATE CAST ... AS EXPLICIT