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

From: "TJ O'Donnell" <tjo(at)acm(dot)org>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: [pgsql-sql] Daily digest v1.3328 (5 messages)
Date: 2010-09-23 00:12:45
Message-ID: AANLkTinRNP+Z3fTU9KuwBShNWbBP7547ddmdZk6NuOL8@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Many frameworks do not natively recognize "t" as true and "f" as false.
I'm using php, json_encode and extjs.
Is it possible to cause the default output of boolean values to be something
other than "t" and "f", say "true" and "false" or even 1 and 0?
Of course I can do this for an individual query using appropriate functions, but
it would help me to be able to modify the default behavior.

TJ

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2010-09-23 00:30:14 Re: [pgsql-sql] Daily digest v1.3328 (5 messages)
Previous Message Karl Denninger 2010-09-23 00:01:06 One warning on migration from 8.4 --> 9.0