pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Keith Gray <keith@heart.com.au>
To: pgsql-sql@postgresql.org
Subject: Boolean and Bit
Date: Wed, 17 Jan 2001 13:01:14 +1100
Message-ID: <3A64FCEA.178112AF@heart.com.au> (raw)

Hello All,

This is my first post (so be gentle with me)...

Is there a searchable archive?

I would like suggestions and examples of adding SQL-92
data type BIT compatibility to a PostgreSQL schema.

From the doc's I gather you can "CREATE TYPE bit"
with storage int or int4... but I don't know
about the input/output for zero and one.

Should SQL (ODBC) be able to ask "WHERE bitfield;"
or should it ask "WHERE bitfield = 1;" ?

Any response gratefully recognized...




Keith



view thread (5+ messages)  latest in thread

Message-ID: <3A64FCEA.178112AF@heart.com.au>
Permalink:  ../3A64FCEA.178112AF@heart.com.au/
Also on:    postgresql.org/message-id/3A64FCEA.178112AF@heart.com.au

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: keith@heart.com.au
  Subject: Re: Boolean and Bit
  In-Reply-To: <3A64FCEA.178112AF@heart.com.au>
  References: <3A64FCEA.178112AF@heart.com.au>

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

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