Re: [HACKERS] Idea on how to simplify comparing two sets - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [HACKERS] Idea on how to simplify comparing two sets
Date
Msg-id 15376.1486483121@sss.pgh.pa.us
Whole thread Raw
In response to [HACKERS] Idea on how to simplify comparing two sets  (Joel Jacobson <joel@trustly.com>)
Responses Re: [HACKERS] Idea on how to simplify comparing two sets  (Joel Jacobson <joel@trustly.com>)
Re: [HACKERS] Idea on how to simplify comparing two sets  ("David G. Johnston" <david.g.johnston@gmail.com>)
Re: [HACKERS] Idea on how to simplify comparing two sets  (Pantelis Theodosiou <ypercube@gmail.com>)
Re: [HACKERS] Idea on how to simplify comparing two sets  (Nico Williams <nico@cryptonector.com>)
List pgsql-hackers
Joel Jacobson <joel@trustly.com> writes:
> Currently there is no simple way to check if two sets are equal.

Uh ... maybe check whether SELECT set1 EXCEPT SELECT set2
and SELECT set2 EXCEPT SELECT set1 are both empty?
        regards, tom lane



pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: [HACKERS] possibility to specify template database for pg_regress
Next
From: Alvaro Herrera
Date:
Subject: Re: [HACKERS] [COMMITTERS] pgsql: Release note updates.