Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f0nlU-0005Ox-RD for pgsql-general@arkaria.postgresql.org; Tue, 27 Mar 2018 12:31:48 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1f0nlT-000885-Pe for pgsql-general@arkaria.postgresql.org; Tue, 27 Mar 2018 12:31:47 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f0nlT-00087v-E9 for pgsql-general@lists.postgresql.org; Tue, 27 Mar 2018 12:31:47 +0000 Received: from mail.verite.pro ([185.16.44.216]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f0nlL-00052P-AD for pgsql-general@postgresql.org; Tue, 27 Mar 2018 12:31:46 +0000 Received: from genius-map.net (verite.pro [195.154.189.246]) by mail.verite.pro (Postfix) with ESMTP id C03778C02C6; Tue, 27 Mar 2018 14:28:25 +0200 (CEST) Received: by genius-map.net (Postfix, from userid 1001) id 5990A38A195E; Tue, 27 Mar 2018 14:31:35 +0200 (CEST) Content-Type: text/plain; charset="iso-8859-15" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: Must re-connect to see tables From: "Daniel Verite" To: "Blake McBride" Cc: "rob stone" ,pgsql-general@postgresql.org In-Reply-To: Date: Tue, 27 Mar 2018 14:31:32 +0200 Message-Id: <28f543ea-acce-4376-b237-8a02f8a54fee@manitou-mail.org> X-Mailer: Manitou v1.7.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Blake McBride wrote: > data.sql is an untouched dump of a database from PostgreSQL 9.5.12. >=20 > The import seems to have worked. I just need another \c after the \i. An effect of reconnecting is to reset the search_path to what it was before including your dump file. You're most certainly affected by the search_path-related changes in pg_dump done in the latest versions following CVE-2018-1058 See https://www.postgresql.org/support/security/ or https://www.postgresql.org/about/news/1834/ Manually issuing RESET search_path; after \i data.sql should get "public" back in the search_path without reconnecting and after that \dt would work as usual. Best regards, --=20 Daniel V=E9rit=E9 PostgreSQL-powered mailer: http://www.manitou-mail.org Twitter: @DanielVerite