pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ken Corey <ken@kencorey.com>
To: Frederic Metoz <metoz@lmes.ibs.fr>
Cc: pgsql-sql@postgresql.org
Subject: Re: binary operators
Date: Wed, 31 Jan 2001 06:28:08 +0000
Message-ID: <3A77B078.8D33CE1F@kencorey.com> (raw)
References: <Pine.SGI.4.21.0101301611030.11408-100000@lmes>

Frederic Metoz wrote:
> I am looking for the binary AND and OR ... SHIFT as well.
> Do they exist for postgresql ?

Depending on what you're doing...you might get away with using
mathematical operators to accomplish the above...

A right SHIFT would be dividing by 2.  A left shift would be multiplying
by 2.  

I don't know off the top of my head about AND and OR.  Doesn't the
manual cover this?

-Ken



view thread (6+ messages)  latest in thread

Message-ID: <3A77B078.8D33CE1F@kencorey.com>
Permalink:  ../3A77B078.8D33CE1F@kencorey.com/
Also on:    postgresql.org/message-id/3A77B078.8D33CE1F@kencorey.com

 · 

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: ken@kencorey.com, metoz@lmes.ibs.fr
  Subject: Re: binary operators
  In-Reply-To: <3A77B078.8D33CE1F@kencorey.com>
  References: <Pine.SGI.4.21.0101301611030.11408-100000@lmes> <3A77B078.8D33CE1F@kencorey.com>

* 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