plpythonu and booleans

From: CSN <cool_screen_name90001(at)yahoo(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: plpythonu and booleans
Date: 2005-05-04 22:27:46
Message-ID: 20050504222746.1896.qmail@web52907.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

When accessing Postgres boolean fields (in the TD
dictionaries) in plpythonu, their values are '0' or
'1'. IIRC, in PHP their values would be 't' or 'f'.
How are boolean values actually stored in Postgres?

CSN


Discover Yahoo!
Stay in touch with email, IM, photo sharing and more. Check it out!
http://discover.yahoo.com/stayintouch.html

Browse pgsql-general by date

  From Date Subject
Next Message Ragnar Hafstað 2005-05-04 22:40:50 Re: [INTERFACES] calculated identity field in views,
Previous Message Tony Caduto 2005-05-04 21:23:16 Re: Postgres vs Firebird?