Re: any chance of "like ANY (array[])" like the "= ANY (array[])" syntax? - Mailing list pgsql-general

From Greg Stark
Subject Re: any chance of "like ANY (array[])" like the "= ANY (array[])" syntax?
Date
Msg-id 87brtsz17a.fsf@stark.dyndns.tv
Whole thread Raw
In response to Re: any chance of "like ANY (array[])" like the "= ANY (array[])" syntax?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Tom Lane <tgl@sss.pgh.pa.us> writes:

> Greg Stark <gsstark@mit.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

pgsql-general by date:

Previous
From: Guy Fraser
Date:
Subject: Re: Picture with Postgres and Delphi
Next
From: "Marc G. Fournier"
Date:
Subject: Re: Release date