Re: Error in sql script - Mailing list pgsql-docs

From Bruce Momjian
Subject Re: Error in sql script
Date
Msg-id 20210901201237.GC24833@momjian.us
Whole thread Raw
In response to Re: Error in sql script  ("David G. Johnston" <david.g.johnston@gmail.com>)
List pgsql-docs
On Tue, Aug 31, 2021 at 06:14:32PM -0700, David G. Johnston wrote:
> On Tuesday, August 31, 2021, Mathieu Decelles St-Pierre <
> mathieu.decelles.stpierre@gmail.com> wrote:
> 
>     So there is no SQL command that we can use to list the Text Search
>     Configurations on a system?
> 
> 
> There is…its not like psql has some special privilege to get that info from the
> server…
> 
> You can either get psql to show you the query it uses or lookup the available
> catalogs in the documentation and find the one that provides what you need.

If you run psql with -E, you will see the SQL queries used for the
backslash commands, and those queries can be run anywhere.

-- 
  Bruce Momjian  <bruce@momjian.us>        https://momjian.us
  EDB                                      https://enterprisedb.com

  If only the physical world exists, free will is an illusion.




pgsql-docs by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: I came here to determine how much storage a boolean variable uses
Next
From: Bruce Momjian
Date:
Subject: Re: Simple re-wording