Hi all,
I'm trying to get a PHP bug in the PostgreSQL pg_query_params function
reopened; it's been marked bogus (incorrectly IMO). There are lots of
details at http://bugs.php.net/bug.php?id=46408. If this is in fact
bogus, I'd appreciate a little bit of feedback.
Many thanks!
Alec Smecher
Public Knowledge Project Team
I'm trying to get a PHP bug in the PostgreSQL pg_query_params
function reopened; it's been marked bogus (incorrectly IMO). There
are lots of details at http://bugs.php.net/bug.php?id=46408. If
this is in fact bogus, I'd appreciate a little bit of feedback.
Just out of curiosity, did you test this with PDO?
Personally I always found the entire setlocale()
business entirely
painful.
regards,
Lukas Kahwe Smith
mls@pooteeweet.org
Lukas Kahwe Smith wrote:
I'm trying to get a PHP bug in the PostgreSQL pg_query_params
function reopened; it's been marked bogus (incorrectly IMO). There
are lots of details at http://bugs.php.net/bug.php?id=46408. If
this is in fact bogus, I'd appreciate a little bit of feedback.
Just out of curiosity, did you test this with PDO?
Personally I always found the entiresetlocale()
business entirely
painful.
No, I haven't tried PDO; my application requires PHP 4.x compatibility
for the time being, unfortunately, and PDO is 5.x-only.
Alec Smecher wrote:
Lukas Kahwe Smith wrote:
I'm trying to get a PHP bug in the PostgreSQL pg_query_params
function reopened; it's been marked bogus (incorrectly IMO). There
are lots of details at http://bugs.php.net/bug.php?id=46408. If
this is in fact bogus, I'd appreciate a little bit of feedback.
Just out of curiosity, did you test this with PDO?
Personally I always found the entiresetlocale()
business entirely
painful.
No, I haven't tried PDO; my application requires PHP 4.x compatibility
for the time being, unfortunately, and PDO is 5.x-only.
BTW, after a little follow-up conversation with Lukas (thanks), I've
also confirmed that PDO has the same problem. Both PostgreSQL's number
parser and the SQL-92 spec expect numbers to be formatted with a "." for
the decimal place.
Regards,
Alec Smecher