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 1lqI2y-0007CG-LC for pgsql-general@arkaria.postgresql.org; Mon, 07 Jun 2021 16:24:16 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lqI2x-00034a-Jn for pgsql-general@arkaria.postgresql.org; Mon, 07 Jun 2021 16:24:15 +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 1lqI2x-00034S-AM for pgsql-general@lists.postgresql.org; Mon, 07 Jun 2021 16:24:15 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lqI2v-0001lI-Dn for pgsql-general@lists.postgresql.org; Mon, 07 Jun 2021 16:24:14 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 157GO9w6881170; Mon, 7 Jun 2021 12:24:09 -0400 From: Tom Lane To: Rich Shepard cc: pgsql-general@lists.postgresql.org Subject: Re: Database issues when adding GUI In-reply-to: References: <3c1ed25a-8924-d27b-bb97-d79984390290@gmail.com> <880013.1623081440@sss.pgh.pa.us> <880596.1623082272@sss.pgh.pa.us> Comments: In-reply-to Rich Shepard message dated "Mon, 07 Jun 2021 09:17:01 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <881168.1623083049.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Mon, 07 Jun 2021 12:24:09 -0400 Message-ID: <881169.1623083049@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Rich Shepard writes: > 2021-06-07 08:47:21.108 PDT [6734] ERROR: column pg_attrdef.adsrc does = not exist at character 128 > 2021-06-07 08:47:21.108 PDT [6734] STATEMENT: select pg_attribute.attna= me, > pg_attribute.atttypid::int, pg_attribute.attnotnull, pg_attribute.attlen= , > pg_attribute.atttypmod, pg_attrdef.adsrc from pg_class, pg_attribute lef= t > join pg_attrdef on (pg_attrdef.adrelid =3D pg_attribute.attrelid and > pg_attrdef.adnum =3D pg_attribute.attnum) where > pg_table_is_visible(pg_class.oid) and pg_class.relname =3D 'industrytype= s' and > pg_attribute.attnum > 0 and pg_attribute.attrelid =3D pg_class.oid and > pg_attribute.attisdropped =3D false order by pg_attribute.attnum Ah-hah, now we are getting somewhere. Yes, this seems much more consistent with your original symptoms, ie app connects but fails to see any tables. (Its error reporting is still poor, though.) > Fixing this error might well fix the issues I'm experiencing; I don't kn= ow > where to start. We removed the pg_attrdef.adsrc catalog column a couple versions back. You're evidently using quite an old version of whichever client-side library is issuing this command. You need to get a more up-to-date copy that knows what to do instead. regards, tom lane