From: | Martijn van Oosterhout <kleptog(at)svana(dot)org> |
---|---|
To: | Garo Hussenjian <garo(at)xapnet(dot)com> |
Cc: | Postgresql General <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Output format revisited - booleans |
Date: | 2002-09-24 09:08:13 |
Message-ID: | 20020924090813.GC21640@svana.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Mon, Sep 23, 2002 at 06:43:39PM -0700, Garo Hussenjian wrote:
> Is it possible to configure a boolean to output 1/0 rather than t/f by
> default?
I don't know for sure, but there are several functions in pg_proc, not listed by \df. They (I beleive) cover these
functions. For example, there are two functions:
Result data type | Name | Argument data types
-----------------------------+------------------------+---------------------
boolean | boolin |
integer | boolout |
I don't know what they do however. Maybe you can look at the code?
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> There are 10 kinds of people in the world, those that can do binary
> arithmetic and those that can't.
From | Date | Subject | |
---|---|---|---|
Next Message | Martijn van Oosterhout | 2002-09-24 09:09:21 | Re: pg_attribute |
Previous Message | Martijn van Oosterhout | 2002-09-24 09:02:52 | Re: State of Replication? |