Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hGku4-0000G9-Cd for pgsql-general@arkaria.postgresql.org; Wed, 17 Apr 2019 13:47:08 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hGku2-0001bX-V4 for pgsql-general@arkaria.postgresql.org; Wed, 17 Apr 2019 13:47:06 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hGku2-0001ay-HY for pgsql-general@lists.postgresql.org; Wed, 17 Apr 2019 13:47:06 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hGku0-0003Ji-4j for pgsql-general@lists.postgresql.org; Wed, 17 Apr 2019 13:47:05 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id x3HDksZc027925; Wed, 17 Apr 2019 09:46:55 -0400 From: Tom Lane To: Julie Nishimura cc: Adrian Klaver , "pgsql-general@lists.postgresql.org" Subject: Re: text search configuration missing while migration from 8.3 to 9.4 In-reply-to: References: <560677b5-53d7-145b-79ee-2c25b490842b@aklaver.com> , ,<4619.1555476341@sss.pgh.pa.us> Comments: In-reply-to Julie Nishimura message dated "Wed, 17 Apr 2019 05:51:07 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <27923.1555508814.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Wed, 17 Apr 2019 09:46:54 -0400 Message-ID: <27924.1555508814@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Julie Nishimura 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 =3D 'tsvector'::regtype; but you could also devise some more-portable query involving the information_schema ... regards, tom lane