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 1lqMlj-00031p-0I for pgsql-general@arkaria.postgresql.org; Mon, 07 Jun 2021 21:26:47 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lqMlh-0002Xa-WD for pgsql-general@arkaria.postgresql.org; Mon, 07 Jun 2021 21:26:46 +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 1lqMlh-0002XS-N5 for pgsql-general@lists.postgresql.org; Mon, 07 Jun 2021 21:26:45 +0000 Received: from mail.appl-ecosys.com ([50.126.108.78]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lqMlf-0004oi-R1 for pgsql-general@lists.postgresql.org; Mon, 07 Jun 2021 21:26:45 +0000 Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by mail.appl-ecosys.com (Postfix) with ESMTP id 4B7C82A0106 for ; Mon, 7 Jun 2021 14:26:41 -0700 (PDT) Date: Mon, 7 Jun 2021 14:26:41 -0700 (PDT) From: Rich Shepard To: pgsql-general@lists.postgresql.org Subject: Re: Database issues when adding GUI In-Reply-To: <881169.1623083049@sss.pgh.pa.us> Message-ID: References: <3c1ed25a-8924-d27b-bb97-d79984390290@gmail.com> <880013.1623081440@sss.pgh.pa.us> <880596.1623082272@sss.pgh.pa.us> <881169.1623083049@sss.pgh.pa.us> User-Agent: Alpine 2.20 (LNX 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Mon, 7 Jun 2021, Tom Lane wrote: > 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. Tom, In what version was that removed? Now I have postgresql-12.7 installed and when I try to access the activitytypes table it still fails with the same error: 2021-06-07 10:36:38.304 PDT [29537] LOG: starting PostgreSQL 12.7 on x86_64-slackware-linux-gnu, compiled by gcc (GCC) 5.5.0, 64-bit 2021-06-07 10:36:38.304 PDT [29537] LOG: listening on IPv4 address "127.0.0.1", port 5432 2021-06-07 10:36:38.310 PDT [29537] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" 2021-06-07 10:36:38.322 PDT [29538] LOG: database system was shut down at 2021-06-07 10:36:17 PDT 2021-06-07 10:36:38.330 PDT [29537] LOG: database system is ready to accept connections 2021-06-07 14:19:45.491 PDT [31353] ERROR: column pg_attrdef.adsrc does not exist at character 128 2021-06-07 14:19:45.491 PDT [31353] STATEMENT: select pg_attribute.attname, pg_attribute.atttypid::int, pg_attribute.attnotnull, pg_attribute.attlen, pg_attribute.atttypmod, pg_attrdef.adsrc from pg_class, pg_attribute left join pg_attrdef on (pg_attrdef.adrelid = pg_attribute.attrelid and pg_attrdef.adnum = pg_attribute.attnum) where pg_table_is_visible(pg_class.oid) and pg_class.relname = 'activitytypes' and pg_attribute.attnum > 0 and pg_attribute.attrelid = pg_class.oid and pg_attribute.attisdropped = false order by pg_attribute.attnum Rich