Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ SQL » Postgresql and bool
Re: Postgresql and bool [message #22984 is a reply to message #22963] Fri, 04 September 2009 14:28 Go to previous message
mirek is currently offline  mirek
Messages: 13980
Registered: November 2005
Ultimate Member
[quote title=Zbych wrote on Thu, 03 September 2009 03:27]
luzr wrote on Wed, 02 September 2009 17:57

I am sorry for the trouble, but there seems to be no really correct solution...


It is ok. I just don't like idea of testing bools as strings:

if (sql[ROLCREATEROLE] == "1")


Neither do I. But they had that great idea to make them incompatible with C/C++...

Mirek
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Postgresql - execpt vs minus
Next Topic: Postgres library improvements
Goto Forum:
  


Current Time: Thu May 16 05:15:51 CEST 2024

Total time taken to generate the page: 0.02705 seconds