Re: [pgsql-sql] Daily digest v1.3328 (5 messages) - Mailing list pgsql-general

From Raymond O'Donnell
Subject Re: [pgsql-sql] Daily digest v1.3328 (5 messages)
Date
Msg-id 4C9B0D69.50403@iol.ie
Whole thread Raw
In response to Re: [pgsql-sql] Daily digest v1.3328 (5 messages)  (Adrian Klaver <adrian.klaver@gmail.com>)
Responses Re: [pgsql-sql] Daily digest v1.3328 (5 messages)
List pgsql-general
On 23/09/2010 02:00, Adrian Klaver wrote:
> On Wednesday 22 September 2010 5:40:55 pm David Wilson wrote:
>> On Wed, Sep 22, 2010 at 8:30 PM, Adrian Klaver<adrian.klaver@gmail.com>wrote:
>>>  From here;
>>>
>>> http://www.postgresql.org/docs/8.4/interactive/datatype-boolean.html
>>
>> I believe the question relates to changing the string *output* of the
>> database to something other than 't' and 'f', not an issue with input
>> formats.
>
> Oops missed that. This would seem to an adapter problem. I work with Python and
> psycopg2 adapts the boolean values to True and False. Not sure about the PHP
> solution.

AFAIK the native functions (pg_query() etc) output 't' and 'f', but PDO
(which I've been using in the context of Zend Framework) output "real"
true and false values.

Ray.

--
Raymond O'Donnell :: Galway :: Ireland
rod@iol.ie

pgsql-general by date:

Previous
From: Guillaume Lelarge
Date:
Subject: Re: What was new in 8.4 & 8.3?
Next
From:
Date:
Subject: Re: Kill -9 for a session process caused all the sessions to be killed