Re: [PHP-DEV] PR 186: external protocols and locale independent string conversion

2012-10-29 Thread Alec Smecher
Hi all, On 27/10/12 12:49 PM, Lars Strojny wrote: Hi, thanks for bringing this up again. I digged even deeper into the whole issue of converting floats to strings and my current findings are that we can’t solve that consistently as things are already fubar’ed. The reason for that is, that in

Re: [PHP-DEV] PR 186: external protocols and locale independent string conversion

2012-10-26 Thread Alec Smecher
On 26/09/12 04:02 PM, Alec Smecher wrote: On 20/09/12 12:02 PM, Alec Smecher wrote: It looks to me like a textbook use case of pg_query_params will currently fail depending on what locale is being used. What Claude at https://bugs.php.net/bug.php?id=46408#1334753071 and Lars here are trying

Re: [PHP-DEV] PR 186: external protocols and locale independent string conversion

2012-09-26 Thread Alec Smecher
On 20/09/12 12:02 PM, Alec Smecher wrote: It looks to me like a textbook use case of pg_query_params will currently fail depending on what locale is being used. What Claude at https://bugs.php.net/bug.php?id=46408#1334753071 and Lars here are trying to do is make it a general fix, which

Re: [PHP-DEV] PR 186: external protocols and locale independent string conversion

2012-09-20 Thread Alec Smecher
Hi all, On Wed, Sep 19, 2012 at 8:35 PM, Lars Strojnyl...@strojny.net wrote: I'm currently working onhttps://github.com/php/php-src/pull/186, which fixes a \ problem with PostgreSQL when passing a float to pg_query_params() with a locale \ setting that uses , as a decimal point.

Re: [PHP-DEV] PostgreSQL pg_query_params, PHP locales, and double data types

2008-11-18 Thread Alec Smecher
Lukas Kahwe Smith wrote: On 17.11.2008, at 17:54, Alec Smecher 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

Re: [PHP-DEV] PostgreSQL pg_query_params, PHP locales, and double data types

2008-11-18 Thread Alec Smecher
Alec Smecher wrote: Lukas Kahwe Smith wrote: On 17.11.2008, at 17:54, Alec Smecher 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

[PHP-DEV] PostgreSQL pg_query_params, PHP locales, and double data types

2008-11-17 Thread Alec Smecher
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