Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 37B12632FFD for ; Thu, 26 Aug 2010 11:23:13 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 22914-03 for ; Thu, 26 Aug 2010 14:22:56 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-qw0-f46.google.com (mail-qw0-f46.google.com [209.85.216.46]) by mail.postgresql.org (Postfix) with ESMTP id 8964F632DB4 for ; Thu, 26 Aug 2010 11:22:58 -0300 (ADT) Received: by qwh6 with SMTP id 6so1654084qwh.19 for ; Thu, 26 Aug 2010 07:22:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=LO98yodS743i/BNAzRrwKtXDCmOYhzKs2+pom9Yblhg=; b=O49B+p/gF5ZoAAuWxocOdZJczYQxRS2OeBaP7k6j0c58gVzRR7rBm1LZgtdg0+47ru FOix0g47n+/8cawJTahJreBRSWH3bvhm5BcuCWxnTxvQ1fh27upQqIEWe+NP5mRf7w79 CC1BTeuEHo/ToaiPPBDdYugQZYZLzKjUhTBfU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=xKF/rCc4rKB5TsB3QfuZCYnHcg86+k5Mnh4AYtzxdc55GAyABkDB4KHJYx2cW8ExUP JBY5r8rGyZm/8uiKh744wCnh4zIurK4bvkAZaC266rsr7hjumDBeq4QFfU4YAXtOoOFW GAA0UmEC7WqNYl+WzyJNXKqOZ1Bn6041aQGg0= MIME-Version: 1.0 Received: by 10.229.182.84 with SMTP id cb20mr7240409qcb.126.1282832576655; Thu, 26 Aug 2010 07:22:56 -0700 (PDT) Received: by 10.229.215.66 with HTTP; Thu, 26 Aug 2010 07:22:56 -0700 (PDT) In-Reply-To: References: Date: Thu, 26 Aug 2010 18:22:56 +0400 Message-ID: Subject: Re: Boolean output representation. From: Dmitriy Igrishin To: Pavel Stehule Cc: postgres list Content-Type: multipart/alternative; boundary=0016e65096e609b8ce048ebabcfb X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.899 tagged_above=-5 required=5 tests=BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001 X-Spam-Level: X-Archive-Number: 201008/80 X-Sequence-Number: 34520 --0016e65096e609b8ce048ebabcfb Content-Type: text/plain; charset=ISO-8859-1 Hey Pavel, Thanks for you answer ! And many thanks to developers because my task a bit simplified because of that :) Regards, Dmitriy 2010/8/26 Pavel Stehule > Hello > > 2010/8/26 Dmitriy Igrishin : > > Hey all, > > > > As is known, there are many valid literal values for the "true" > > and "false" state of boolean data type. > > True whether that output of boolean type shows only using > > the letters 't' and 'f' or its possible to change the output > representation, > > e.g., to "true" or "false" ("1", "0")? > > > > no, it isn't possible - you can write a simple formating function or > own custom data type. > > Regards > > Pavel Stehule > > > Regards, > > Dmitriy > > > > > --0016e65096e609b8ce048ebabcfb Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hey Pavel,

Thanks for you answer !
And many thanks to developers = because my task a bit simplified
because of that :)

Regards,
D= mitriy

2010/8/26 Pavel Stehule <pavel.stehule@gmail= .com>
Hello

2010/8/26 Dmitriy Igrishin <dmitigr= @gmail.com>:
> Hey all,
>
> As is known, there are many valid literal values for the "true&qu= ot;
> and "false" state of boolean data type.
> True whether that output of boolean type shows only using
> the letters 't' and 'f' or its possible to change the = output representation,
> e.g., to "true" or "false" ("1", "0= ")?
>

no, it isn't possible - you can write a simple formating fu= nction or
own custom data type.

Regards

Pavel Stehule

> Regards,
> Dmitriy
>
>

--0016e65096e609b8ce048ebabcfb--