Setting search_path ignored

From: Guyren Howe <guyren(at)gmail(dot)com>
To: PostgreSQL General <pgsql-general(at)postgresql(dot)org>
Subject: Setting search_path ignored
Date: 2017-10-02 14:00:45
Message-ID: CABzyXqYKw-tJ-4OZQNLwyS1TSrEuSiqyRoDvcR8Rvao=ZdWAKA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

CREATE ROLE thing_accessor;

CREATE ROLE

CREATE SCHEMA thing_accessor;

CREATE SCHEMA

covermything=> ALTER ROLE thing_accessor SET search_path=thing_accessor;

ALTER ROLE

covermything=# SET ROLE thing_accessor;

SET

covermything=> SHOW search_path;

search_path

-----------------

"$user", public

(1 row)

This seems to contradict all the advice I can find about setting the schema
search path.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Melvin Davidson 2017-10-02 14:06:32 Re: time series data
Previous Message Frank Millman 2017-10-02 06:32:34 Re: a JOIN to a VIEW seems slow