Re: binary operators

From: Ken Corey <ken(at)kencorey(dot)com>
To: Frederic Metoz <metoz(at)lmes(dot)ibs(dot)fr>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: binary operators
Date: 2001-01-31 06:28:08
Message-ID: 3A77B078.8D33CE1F@kencorey.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Michael Davis 2001-01-31 07:32:05 RE: Rownum/ row Id
Previous Message Padmajha Raghunathan 2001-01-31 06:20:23 Rownum/ row Id