[postgis-users] user's search_path during make check

Sandro Santilli strk at keybit.net
Fri Apr 6 06:57:58 PDT 2012


On Fri, Apr 06, 2012 at 09:47:52AM -0400, Stephen Woodbridge wrote:
> On 4/6/2012 3:33 AM, Sandro Santilli wrote:
> >On Fri, Apr 06, 2012 at 12:08:53AM -0400, Paragon Corporation wrote:
> >
> >>ALTER ROLE postgres RESET search_path;
> >
> >Does anyone know how to get a similar call to have temporary effect
> >for the sake of "make check" sanity ?
> 
> You can use
> 
> SET search_path to ....;
> 
> Which will set the search_path only for the current session.
> 
> Does that work for you?

Uhm... almost.
It'll take a plpgsql functions to find out the correct "...."
Such a function would only be needed during "make check".

--strk;

  ,------o-. 
  |   __/  |    Delivering high quality PostGIS 2.0 !
  |  / 2.0 |    http://strk.keybit.net - http://vizzuality.com
  `-o------'




More information about the postgis-users mailing list