agora inbox for postgres@postgres.berkeley.edu  
help / color / mirror / Atom feed
From: Quandt Brian <quandt@eec.umr.edu>
To: postgres@postgres.Berkeley.EDU
Subject: Bool types
Date: Fri, 19 Aug 1994 09:15:29 -0500 (CDT)
Message-ID: <199408191415.JAA03717@umrgec8.eec.umr.edu> (raw)

Okay I give up what are valid "values " for boolean types?

As in 
	retrieve (XXX.all) where XXX.booltype = true

	or

	retrieve (XXX.all) where XXX.booltype = false


	or

	append XXX (booltype = what)

I know that bools are either true or false but I just don't know
how postgres (4.2) indicates these.  Everytime I try things like
	boolvar = 1 to indicate true in the where clause I get
	illegal op for int4... need to cast it.

Brian Quandt


==============================================================================
   To add/remove yourself to/from the POSTGRES mailing list: send mail with 
   the subject line ADD or DEL to "postgres-request@postgres.Berkeley.EDU"

   If this fails, send mail to "post_questions@postgres.Berkeley.EDU" and
   a human will deal with it.  DO NOT post to the "postgres" mailing list.
==============================================================================



reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: postgres@postgres.berkeley.edu
  Cc: quandt@eec.umr.edu
  Subject: Re: Bool types
  In-Reply-To: <199408191415.JAA03717@umrgec8.eec.umr.edu>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox