Array comparison - subset

From: "Christopher Murtagh" <christopher(dot)murtagh(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Array comparison - subset
Date: 2006-09-01 15:55:32
Message-ID: 92fbb7920609010855y280276cco9eb4ea502d53fe83@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Greetings folks,

I've got a function that returns and array $foo, and an array $bar.
Is there an elegant way to test if $bar is a subset of $foo? I've been
looking through the docs and haven't found anything. Am I missing
something obvious, or am I out of luck?

Cheers,

Chris

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Harpreet Dhaliwal 2006-09-01 15:59:57 Re: Trigger (Transaction related)
Previous Message Robert Treat 2006-09-01 15:50:36 Re: Thought provoking piece on NetBSD