True/False Values

Started by Dean Grubbalmost 24 years ago2 messagesgeneral
Jump to latest
#1Dean Grubb
dean@atrium-online.com.au

Hi,

I have two different postgresql 7.1.3 servers, when I return a true or false
value from a PL/pgSQL function one server returns 0 or 1 but the other
returns 'f' or 't'.

Is this a configuration setting some where?

Dean Grubb
Atrium-Online
www.atrium-online.com.au

#2Bruce Momjian
bruce@momjian.us
In reply to: Dean Grubb (#1)
Re: True/False Values

Two servers of the same release calling the same function and one
returns 0/1 and another f/t. Seems impossible to me. There must be
some difference between the servers.

---------------------------------------------------------------------------

Dean Grubb wrote:

Hi,

I have two different postgresql 7.1.3 servers, when I return a true or false
value from a PL/pgSQL function one server returns 0 or 1 but the other
returns 'f' or 't'.

Is this a configuration setting some where?

Dean Grubb
Atrium-Online
www.atrium-online.com.au

[ unknown/unknown is not supported, skipping... ]

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026