Re: text search configuration missing while migration from 8.3 to 9.4 - Mailing list pgsql-general

From Tom Lane
Subject Re: text search configuration missing while migration from 8.3 to 9.4
Date
Msg-id 27924.1555508814@sss.pgh.pa.us
Whole thread Raw
In response to Re: text search configuration missing while migration from 8.3 to 9.4  (Julie Nishimura <juliezain@hotmail.com>)
List pgsql-general
Julie Nishimura <juliezain@hotmail.com> writes:
> Thank you. Is there a way to find out if I have tables with tsvectors or indexes? I have hundreds of tables...

Search the system catalogs.  I'd probably do it like this:

select attrelid::regclass, attname from pg_attribute
  where atttypid = 'tsvector'::regtype;

but you could also devise some more-portable query involving
the information_schema ...

            regards, tom lane



pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: upgrade issue 10 to 11
Next
From: Adrian Klaver
Date:
Subject: Re: text search configuration missing while migration from 8.3 to 9.4