> On Sep 24, 2026, at 10:25 AM, rob stone <[email protected]> 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.
> 
> O/S
> Linux 7.2.6+deb14-amd64 #1 SMP PREEMPT_DYNAMIC Debian 7.2.6-1 (2026-09-
> 16) x86_64 GNU/Linux
> 
> Postgres
> psql (18.6 (Debian 18.6-3))
> 
> \dn
>      List of schemas
>  Name  |       Owner       
> --------+-------------------
> bsmdl  | teamone
> foots  | teamone
> public | pg_database_owner
> (3 rows)
> 
> show search_path;
>  search_path   
> ----------------
> "bsmdl, foots"
> (1 row)
> 
> A \dn runs a query against the catalogue whereas "show search_path"
> displays what was obtained from the connection.
> 
> I ran a create table script where all tables were fully qualified
> schema.table_name and it completed without any errors.
> 
> Then I ran:-
> \d system_defaults (one of the newly created tables)
> and this was the result:-
> Did not find any relation named "system_defaults".

\d bsmdl.system_defaults
Or
\dt bsmdl.*

Reply via email to