set persistent search_path

From: Pedro Salazar <pedro-b-salazar(at)ptinovacao(dot)pt>
To: pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: set persistent search_path
Date: 2003-04-07 14:55:16
Message-ID: 1049727315.1131.48.camel@vitoria.intra.cet.pt
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Greetings,

I created a user with read-only access to a schema of another user. My
functions work with anonymous tables (I mean, there is no prefix of the
schema), and when I invoke those functions, I got errors about not
knowing the relations (tables).

How can I change the search_path in a persistent way for a read-only
user that not owns the schema, to avoid set it in every session?

I even don't know if the set search_path works at run-time, but even
with that, it's annoying put it on the top of each function...

thanks,
Pedro Salazar.
--
PS
pedro-b-salazar(at)ptinovacao(dot)pt
PGP:0E129E31D803BC61

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2003-04-07 15:00:59 Re: set persistent search_path
Previous Message Pedro Salazar 2003-04-07 14:38:09 Re: create function (plpgsql): permission denied