Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mLWbF-0005rs-Oc for pgsql-docs@arkaria.postgresql.org; Wed, 01 Sep 2021 20:12:45 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mLWbE-0003ln-B4 for pgsql-docs@arkaria.postgresql.org; Wed, 01 Sep 2021 20:12:44 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mLWbE-0003lf-5E for pgsql-docs@lists.postgresql.org; Wed, 01 Sep 2021 20:12:44 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mLWb9-00056G-Fw for pgsql-docs@lists.postgresql.org; Wed, 01 Sep 2021 20:12:43 +0000 Received: from bruce by momjian.us with local (Exim 4.92) (envelope-from ) id 1mLWb7-00080n-In; Wed, 01 Sep 2021 16:12:37 -0400 Date: Wed, 1 Sep 2021 16:12:37 -0400 From: Bruce Momjian To: "David G. Johnston" Cc: Mathieu Decelles St-Pierre , "pgsql-docs@lists.postgresql.org" Subject: Re: Error in sql script Message-ID: <20210901201237.GC24833@momjian.us> References: <163042968236.701.8405099741064036121@wrigleys.postgresql.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 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 https://momjian.us EDB https://enterprisedb.com If only the physical world exists, free will is an illusion.