Re: proposal: simple date constructor from numeric values

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
Cc: Jeevan Chalke <jeevan(dot)chalke(at)enterprisedb(dot)com>, Peter Eisentraut <peter_e(at)gmx(dot)net>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, 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-10-11 19:30:32
Message-ID: CAFj8pRD8C2Fw_wKN9dyVvjrsvmMU+wjWw1aHLfibKn6BBn=wGw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello

2013/10/11 Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>

> Jeevan Chalke escribió:
> > On Wed, Sep 18, 2013 at 9:54 PM, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com
> >wrote:
> >
> > > thank you,
> > >
> > > I have no comments
> >
> > Assigned it to committer.
>
> Hm, these functions are marked as STABLE, right? Why aren't they
> immutable?
>

It was my mistake - I was confused from timestamp with time zone type,
what has zero related to date and time.

fixed to immutable,
fixed duplicate oid

Regards

Pavel

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

Attachment Content-Type Size
make_date_v5.patch application/octet-stream 8.1 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2013-10-11 19:33:21 buildfarm failures on smew and anole
Previous Message Peter Geoghegan 2013-10-11 18:30:18 Re: INSERT...ON DUPLICATE KEY LOCK FOR UPDATE