I think that the problem is on the type inference algorithm.
Starting from:
typeof(X) = timestamp
typeof(Y) = ?
typeof(Z) = interval
typeof(Y op Z) = ? [timestamp/interval]
The inference algorithm starts from the right
X > Y + Z => X > ? + interval [here the algorithm has two choices,
timestamp
On Sat, Mar 3, 2012 at 7:47 PM, wrote:
> The following bug has been logged on the website:
>
> Bug reference: 6512
> Logged by: Stefano Baccianella
> Email address: stefano.bacciane...@gmail.com
> PostgreSQL version: 9.1.1
> Operating system: Windows 7 64bit
> Description:
>
The following bug has been logged on the website:
Bug reference: 6512
Logged by: Stefano Baccianella
Email address: stefano.bacciane...@gmail.com
PostgreSQL version: 9.1.1
Operating system: Windows 7 64bit
Description:
When trying to execute a query like:
SELECT * FR