Re: any chance of "like ANY (array[])" like the "= ANY (array[])" syntax?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Greg Stark <gsstark(at)mit(dot)edu>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: any chance of "like ANY (array[])" like the "= ANY (array[])" syntax?
Date: 2003-09-09 20:58:38
Message-ID: 11958.1063141118@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Greg Stark <gsstark(at)mit(dot)edu> writes:
> I find myself wishing I had a syntax "LIKE ANY (array['foo','bar'])".

You do, because LIKE has an equivalent operator.

foo ~~ ANY (array[])

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message scott.marlowe 2003-09-09 21:07:03 Re: Picture with Postgres and Delphi
Previous Message Andrew L. Gould 2003-09-09 20:57:05 Re: Find overlapping time intervals, how?