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