Re: Error in sql script

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
Cc: Mathieu Decelles St-Pierre <mathieu(dot)decelles(dot)stpierre(at)gmail(dot)com>, "pgsql-docs(at)lists(dot)postgresql(dot)org" <pgsql-docs(at)lists(dot)postgresql(dot)org>
Subject: Re: Error in sql script
Date: 2021-09-01 20:12:37
Message-ID: 20210901201237.GC24833@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(dot)decelles(dot)stpierre(at)gmail(dot)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(at)momjian(dot)us> https://momjian.us
EDB https://enterprisedb.com

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

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message Bruce Momjian 2021-09-01 20:21:23 Re: Simple re-wording
Previous Message Bruce Momjian 2021-09-01 19:49:46 Re: I came here to determine how much storage a boolean variable uses