How to choose table in SELECT clause without schema qualifier or 'set local' - Mailing list pgsql-sql

From intmail01
Subject How to choose table in SELECT clause without schema qualifier or 'set local'
Date
Msg-id CAKJANSDpz7TXn30vv1HVSjRv0N+xSnyiSnfyMdFaeXh1_yfFuw@mail.gmail.com
Whole thread Raw
Responses Re: How to choose table in SELECT clause without schema qualifier or 'set local'  ("David G. Johnston" <david.g.johnston@gmail.com>)
List pgsql-sql
Hi,

My db have many schemas (company name) and there are SELECT code related to tables that I distribute for each company users.

The structure inside are the same for all schemas.

It is a nightmare to change code each time to modify the schema qualifier or SET LOCAL search_path when I add a new company.
Is there command, configurations or any trick to not modify code each time I add company then code can works for any schema.

Thanks.

pgsql-sql by date:

Previous
From: Sheryl Prabhu David
Date:
Subject: Re: Nested loop behaviour with pg_stat_activity
Next
From: Jamie Thompson
Date:
Subject: UPDATE with AND clarification