Re: [BUGS] BUG #6512: Bug with prepared statement and timestamp + interval

2012-03-13 Thread Stefano Baccianella
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

Re: [BUGS] BUG #6512: Bug with prepared statement and timestamp + interval

2012-03-12 Thread Robert Haas
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: >

[BUGS] BUG #6512: Bug with prepared statement and timestamp + interval

2012-03-04 Thread stefano . baccianella
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