pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Pedro Salazar <pedro-b-salazar@ptinovacao.pt>
To: pgsql-admin <pgsql-admin@postgresql.org>
Subject: set persistent search_path
Date: 07 Apr 2003 15:55:16 +0100
Message-ID: <1049727315.1131.48.camel@vitoria.intra.cet.pt> (raw)

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@ptinovacao.pt
PGP:0E129E31D803BC61




view thread (2+ messages)  latest in thread

Message-ID: <1049727315.1131.48.camel@vitoria.intra.cet.pt>
Permalink:  ../1049727315.1131.48.camel@vitoria.intra.cet.pt/
Also on:    postgresql.org/message-id/1049727315.1131.48.camel@vitoria.intra.cet.pt

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: pedro-b-salazar@ptinovacao.pt
  Subject: Re: set persistent search_path
  In-Reply-To: <1049727315.1131.48.camel@vitoria.intra.cet.pt>
  References: <1049727315.1131.48.camel@vitoria.intra.cet.pt>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox