Re: insert throw error when year field len > 4 for timestamptz datatype

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Rushabh Lathia <rushabh(dot)lathia(at)gmail(dot)com>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, Haribabu kommi <haribabu(dot)kommi(at)huawei(dot)com>, Rushabh Lathia <rushabh(dot)lathia(at)enterprisedb(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: insert throw error when year field len > 4 for timestamptz datatype
Date: 2013-10-03 14:00:28
Message-ID: 20131003140028.GA6220@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Oct 3, 2013 at 11:54:14AM +0530, Rushabh Lathia wrote:
> Thanks Bruce.
>
> Yes for me main problem was to make assumption that a 5-digit number is a year,
> as was bit worried about side effect of that assumption in the date/time
> module. I
> did tested patch shared by you with various test and so far it looks good to
> me.
>
> I would like reviewer to review/test the patch and share his comments.
>
> Attaching the git patch again with this mail.
>
> Assigning to Reviewer.

Oh, great. If everyone likes it I can apply it.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ It's impossible for everything to be true. +

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2013-10-03 15:02:22 Re: Suggestion: Issue warning when calling SET TRANSACTION outside transaction block
Previous Message Steve Singer 2013-10-03 13:59:03 Re: record identical operator - Review