From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Daniele Varrazzo <daniele(dot)varrazzo(at)gmail(dot)com> |
Cc: | Chris Bartlett <c(dot)bartlett(at)paradise(dot)net(dot)nz>, David Johnston <polobo(at)yahoo(dot)com>, Alban Hertroys <haramrae(at)gmail(dot)com>, Craig Ringer <ringerc(at)ringerc(dot)id(dot)au>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: Can't figure out how to use now() in default for tsrange column (PG 9.2) |
Date: | 2012-07-17 02:32:11 |
Message-ID: | 12232.1342492331@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Daniele Varrazzo <daniele(dot)varrazzo(at)gmail(dot)com> writes:
> This suggests me that the PG histogram doesn't count the occurrence
> into bins of the same size over the domain, but instead records the
> boundaries on the domain of bins containing the same amount of data.
Right. I don't believe the PG planner has any issues with infinite
dates (and if you do find one, we'll do our best to fix it). But the
point that client-side code might not cope with infinite dates is
very valid, and that's not something that we can undertake to fix
if you run into it.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Rajeev rastogi | 2012-07-17 05:19:56 | Info regarding bug list for all previous releases |
Previous Message | Chris Travers | 2012-07-17 01:14:21 | Re: Create stored procedure from C#.net |