Re: Multiple schemas - Mailing list pgsql-general

From Adrian Klaver
Subject Re: Multiple schemas
Date
Msg-id e1083e9d-ffb2-492f-a204-44ddc1a6ce7d@aklaver.com
Whole thread
In response to Re: Multiple schemas  (Alban Hertroys <haramrae@gmail.com>)
Responses Re: Multiple schemas
List pgsql-general
On 9/24/26 2:19 AM, Alban Hertroys wrote:
> 
>> On 24 Sep 2026, at 10:24, rob stone <floriparob@tpg.com.au> wrote:
>>
>> Hello,
>>
>> I've been using a single schema in a database for years and I decided
>> to try using multiple schemas in the same database.
>>
>> So, I set up a test database and followed the same procedure that I
>> have used in the past but this time specifying multiple schemas.
> 
> …
> 
>> show search_path;
>>   search_path
>> ----------------
>> "bsmdl, foots"
>> (1 row)
> 
> I think there’s your problem. You have schemas named “bsmdl” and “foots”, not a schema named "bsmdl, foots”.

In other words you did:

SET search_path TO 'bsmdl, foots'

and got

SHOW search_path ;
   search_path
----------------
  "bsmdl, foots"


Instead you should do:

SET search_path TO bsmdl, foots;

to get:

SHOW search_path ;
  search_path
--------------
  bsmdl, foots



> 
> Alban Hertroys
> --
> If you can't see the forest for the trees,
> cut the trees and you'll find there is no forest.
> 
> 
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com



pgsql-general by date:

Previous
From: Justin
Date:
Subject: Re: Multiple schemas
Next
From: sutyak
Date:
Subject: PostgreSQL 18 FIPS mode in Windows