pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: TJ O'Donnell <tjo@acm.org>
To: pgsql-sql@postgresql.org
Subject: 9.17.5. Row-wise Comparison
Date: Wed, 06 Apr 2005 20:48:23 -0700
Message-ID: <4254AD87.2030508@acm.org> (raw)
In-Reply-To: <200504032037.j33Kb1kh016358@hosting.commandprompt.com>
References: <200504032037.j33Kb1kh016358@hosting.commandprompt.com>

In tbl with columns a,b,c,d.
I've been using syntax like
select a from tbl where (b,c,d) > (1,2,3)
   to mean
select a from t where b>1 and b>2 and d>3

But I see in the manual at:
http://www.postgresql.org/docs/7.4/interactive/functions-comparisons.html#AEN12735
that only = and <> operators are supported.  Does this section of the manual
not properly apply to this query?  Is the manual in error, or am I
not understanding?

TJ



view thread (4+ messages)  latest in thread

Message-ID: <4254AD87.2030508@acm.org>
Permalink:  ../4254AD87.2030508@acm.org/
Also on:    postgresql.org/message-id/4254AD87.2030508@acm.org

 · 

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: pgsql-sql@postgresql.org
  Cc: tjo@acm.org
  Subject: Re: 9.17.5. Row-wise Comparison
  In-Reply-To: <4254AD87.2030508@acm.org>

* 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