Re: Subtract one array from another, both with non-unique elements

From: Alexander Farber <alexander(dot)farber(at)gmail(dot)com>
To:
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Subtract one array from another, both with non-unique elements
Date: 2016-03-06 17:41:31
Message-ID: CAADeyWiPW7KHBZ19K6-zOqc92ctncHH22v8VsSsJpgw10EA2JQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Thank you, but shouldn't I better use FOREACH for my task?

On Sun, Mar 6, 2016 at 6:34 PM, bricklen <bricklen(at)gmail(dot)com> wrote:

> On Sun, Mar 6, 2016 at 9:22 AM, Alexander Farber <
> alexander(dot)farber(at)gmail(dot)com> wrote:
>
>> could someone please recommend the most efficient way subtracting
>> elements of one array from the other in PostgreSQL 9.5?
>>
>
> There are quite a few examples of array functions at
> http://postgres.cz/wiki/Array_based_functions, probably worth having a
> look.
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Pavel Stehule 2016-03-06 17:49:38 Re: Subtract one array from another, both with non-unique elements
Previous Message bricklen 2016-03-06 17:34:07 Re: Subtract one array from another, both with non-unique elements