pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-admin@lists.postgresql.org
Subject: Re: Function list similar to psql's \df+ w/o code?
Date: Wed, 11 Jan 2023 12:25:24 -0600
Message-ID: <21044db0-5d67-8e6c-80a4-23e3b936af93@gmail.com> (raw)
In-Reply-To: <CAOC+FBVG0taTSy14ErFBEPaOpsTPbE51P7VCjenbZAGPVs0i-g@mail.gmail.com>
References: <CAOC+FBVG0taTSy14ErFBEPaOpsTPbE51P7VCjenbZAGPVs0i-g@mail.gmail.com>

On 1/11/23 12:06, Wells Oliver wrote:
> Find myself wanting to view the output of psql's \df+ someschema.* without 
> the source code column, which makes it unreadable in the terminal. Is 
> there a quick query?

Run this to see how "\df+" is generated.  Modify it for your needs:
psql <some_db> -Ec "\df+ someschema.*"

-- 
Born in Arizona, moved to Babylonia.





view thread (3+ messages)  latest in thread

Message-ID: <21044db0-5d67-8e6c-80a4-23e3b936af93@gmail.com>
Permalink:  ../21044db0-5d67-8e6c-80a4-23e3b936af93@gmail.com/
Also on:    postgresql.org/message-id/21044db0-5d67-8e6c-80a4-23e3b936af93@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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: ronljohnsonjr@gmail.com, pgsql-admin@lists.postgresql.org
  Subject: Re: Function list similar to psql's \df+ w/o code?
  In-Reply-To: <21044db0-5d67-8e6c-80a4-23e3b936af93@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