Hi Conni,

> I have a question: At http://www.php.net/manual/en/function.pg-convert.php
> there is a user note : "Why does this function, pg_convert(), reject the
> string 'TRUE' as a valid value for the boolean types? ..."
> 
> This is not the fault of pg_convert(). TRUE (in capital letters) is not
> a string but a constant without quotes. If you try to convert it, the
> function puts quotes and then 'TRUE' is not anymore a valid entry for
> boolean fields in PostgreSQL. With the stringa t, true, 1, y, yes
> instead the function works well.
> 
> Shall I write a new note or put this hint into the documentation?

This should go into the docs IMHO. Thanks for taking this.

Goba

Reply via email to