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

From: Greg Stark <gsstark(at)mit(dot)edu>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Greg Stark <gsstark(at)mit(dot)edu>, pgsql-general(at)postgresql(dot)org
Subject: Re: any chance of "like ANY (array[])" like the "= ANY (array[])" syntax?
Date: 2003-09-10 23:13:45
Message-ID: 87brtsz17a.fsf@stark.dyndns.tv
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:

> 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[])

Yippee! Thanks.

--
greg

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Marc G. Fournier 2003-09-11 00:38:55 Re: Release date
Previous Message Guy Fraser 2003-09-10 22:34:46 Re: Picture with Postgres and Delphi