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 1hgqPz-0003xx-HW for pgsql-bugs@arkaria.postgresql.org; Fri, 28 Jun 2019 12:55:55 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hgqPy-0000Pa-DK for pgsql-bugs@arkaria.postgresql.org; Fri, 28 Jun 2019 12:55:54 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hgqPy-0000PT-5X for pgsql-bugs@lists.postgresql.org; Fri, 28 Jun 2019 12:55:54 +0000 Received: from atl4mhob16.registeredsite.com ([209.17.115.109]) by magus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hgqPv-0000Xe-O9 for pgsql-bugs@lists.postgresql.org; Fri, 28 Jun 2019 12:55:53 +0000 Received: from atl4oxapp103 ([10.30.71.140]) by atl4mhob16.registeredsite.com (8.14.4/8.14.4) with ESMTP id x5SCtld3021690 (version=TLSv1/SSLv3 cipher=AES256-SHA256 bits=256 verify=NO); Fri, 28 Jun 2019 08:55:48 -0400 Date: Fri, 28 Jun 2019 08:55:47 -0400 (EDT) From: c Campo Reply-To: c Campo To: Sergei Kornilov , pgsql-bugs@lists.postgresql.org Message-ID: <999377173.1874996.1561726547944@webmail.networksolutionsemail.com> In-Reply-To: <21523511561721937@sas1-063d61d846d8.qloud-c.yandex.net> References: <15881-6176e0af6b3a6cab@postgresql.org> <21523511561721937@sas1-063d61d846d8.qloud-c.yandex.net> Subject: Re: BUG #15881: \d name_of_any_table_in_any_database produces ERROR MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Priority: 3 Importance: Medium X-Mailer: Open-Xchange Mailer v7.10.0-Rev28 X-Originating-Client: open-xchange-appsuite List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Also, Sergei, This problem seems related to connecting using an older version (9.6.10) of PostgreSQL, then doing a connect to 12beta2 via \c - - - 5442 wren:~ cjc$ psql -U cjc -p 5436 LocalWeather psql (9.6.10) Type "help" for help. LocalWeather=# \c - - - 5442 psql (9.6.10, server 12beta2) WARNING: psql major version 9.6, server major version 12. Some psql features might not work. You are now connected to database "LocalWeather" as user "cjc" via socket in "/tmp" at port "5442". LocalWeather=# \dS+ pg_config ERROR: column c.relhasoids does not exist LINE 1: ...riggers, c.relrowsecurity, c.relforcerowsecurity, c.relhasoi... When I use the 12beta2 version of psql the problem doesn't seem occur: wren:~ cjc$ /usr/local/pgsql12beta2/pgsql12beta2/bin/psql -U cjc -p 5442 LocalWeather psql (12beta2) Type "help" for help. LocalWeather=# \dS+ pg_config View "pg_catalog.pg_config" Column | Type | Collation | Nullable | Default | Storage | Description ---------+------+-----------+----------+---------+----------+------------- name | text | | | | extended | setting | text | | | | extended | View definition: SELECT pg_config.name, pg_config.setting FROM pg_config() pg_config(name, setting); I don't know what postgres intends to use older versions of psql to connect to version 12; if postgres intends with RELEASE version 12 to only use version 12 of psql to connect to the version 12 postgres, then postgres is ok; if not, then there is a problem. If the intension is the former, then documentation should state so. Best, cjc > On June 28, 2019 at 7:38 AM Sergei Kornilov wrote: > > > Hello > > Thank you for report. Can you verify you using psql version 12beta2? You see message like this: > > > ./psql > > psql (12beta2) > > Type "help" for help. > > > > postgres=# > > For example "\d pg_stats" works for me in this case > > Or something like: > > > psql (11.4 (Debian 11.4-1.pgdg100+1), server 12beta2) > > WARNING: psql major version 11, server major version 12. > > Some psql features might not work. > > Type "help" for help. > > > > postgres=# > > Older psql version should give such error, this is expected and we write warning about it. > > regards, Sergei