Re: Error in sql script

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Error in sql script
Дата
Msg-id 20210901201237.GC24833@momjian.us
обсуждение исходный текст
Ответ на Re: Error in sql script  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: I came here to determine how much storage a boolean variable uses
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Simple re-wording