Re: Limit eartdistance regression testcase to the public schema - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Limit eartdistance regression testcase to the public schema
Date
Msg-id 4099739.1758910559@sss.pgh.pa.us
Whole thread Raw
In response to Limit eartdistance regression testcase to the public schema  (Zsolt Parragi <zsolt.parragi@percona.com>)
List pgsql-hackers
Zsolt Parragi <zsolt.parragi@percona.com> writes:
> I attached a simple patch to the test case that modifies it to only
> list objects from the public schema. Part of the test case is already
> limited to the public schema, this patch just aligns the rest to do
> the same.

> What do you think?

I think this is breaking the test, because part of the point is
to check that there's not anything installed outside the public
schema (until we tell it to, further down).

Admittedly, this only checks schemas that are in the search_path,
but why do you have other stuff in the search_path?  That seems
to cause all kinds of risks of accidentally interfering with
assorted test cases.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Filip Janus
Date:
Subject: Re: Proposal: Adding compression of temporary files
Next
From: Jacob Champion
Date:
Subject: Re: OAuth client code doesn't work with Google OAuth