Re: [BUGS] BUG #6128: A boolean variable doesn't evaluate properly in an IF conditional...

2011-07-22 Thread Robert Haas
On Thu, Jul 21, 2011 at 2:48 PM, dani...@megasystems.us wrote: I wrote some code in a PLPGSQL function to generate a printout string of some information. Basically, I create a string of printed characters, which my calling program will then print out... I wrote an IF conditional to generate

[BUGS] BUG #6128: A boolean variable doesn't evaluate properly in an IF conditional...

2011-07-21 Thread
The following bug has been logged online: Bug reference: 6128 Logged by: Email address: dani...@megasystems.us PostgreSQL version: 8.3 Operating system: Windows XP Description:A boolean variable doesn't evaluate properly in an IF conditional... Details: I wrote

Re: [BUGS] BUG #6128: A boolean variable doesn't evaluate properly in an IF conditional...

2011-07-21 Thread Tom Lane
dani...@megasystems.us writes: For some reason, POSTGRESQL does not evaluate ((put_the_in_city_online = FALSE) = true) correctly. This is pretty hard to believe, and you're not going to get anyone to think it's anything except pilot error unless you provide a complete, reproducible example.