Re: [phpOpenTracker-User] patch to turn 0/1 into true/false for postgres compatibility

Jean-Christian Imbeault <[email protected]>
Newsgroups gmane.comp.web.phpopentracker.general
Message-ID <[email protected]>
Sebastian Bergmann wrote:
>
>   Any suggestions?

Ok, got it. Postgres will accept 0/1 for inserts if they are quoted. So
just change like this:

insert into table(field) values(0);

insert into table(field) values('0');

That should work,

Jc



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.