pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jim Nasby <jim.nasby@gmail.com>
To: Atul Kumar <akumar14871@gmail.com>
To: pgsql-general <pgsql-general@lists.postgresql.org>
Subject: Re: unbale to list schema
Date: Wed, 17 Jan 2024 17:04:15 -0600
Message-ID: <9db9ed8f-681c-43aa-b6bc-b985a69fc1af@gmail.com> (raw)
In-Reply-To: <CA+ONtZ6cYh=9BkUROkMuyaV9d7kp4f3Vyn4yuavT9JZc=i77Pw@mail.gmail.com>
References: <CA+ONtZ6cYh=9BkUROkMuyaV9d7kp4f3Vyn4yuavT9JZc=i77Pw@mail.gmail.com>

On 1/17/24 12:46 PM, Atul Kumar wrote:
> Hi,
> 
> I am not able to find any solution to list all schemas in all databases 
> at once, to check the structure of the whole cluster.

Easiest way to do this is `pg_dumpall --schema-only`.
-- 
Jim Nasby, Data Architect, Austin TX






view thread (4+ messages)  latest in thread

Message-ID: <9db9ed8f-681c-43aa-b6bc-b985a69fc1af@gmail.com>
Permalink:  ../9db9ed8f-681c-43aa-b6bc-b985a69fc1af@gmail.com/
Also on:    postgresql.org/message-id/9db9ed8f-681c-43aa-b6bc-b985a69fc1af@gmail.com

 · 

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-general@postgresql.org
  Cc: jim.nasby@gmail.com, akumar14871@gmail.com
  Subject: Re: unbale to list schema
  In-Reply-To: <9db9ed8f-681c-43aa-b6bc-b985a69fc1af@gmail.com>
  References: <CA+ONtZ6cYh=9BkUROkMuyaV9d7kp4f3Vyn4yuavT9JZc=i77Pw@mail.gmail.com> <9db9ed8f-681c-43aa-b6bc-b985a69fc1af@gmail.com>

* 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