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 1kMq3q-0005Kz-2g for pgsql-general@arkaria.postgresql.org; Mon, 28 Sep 2020 10:07:10 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kMq3I-0001lw-Jy for pgsql-general@arkaria.postgresql.org; Mon, 28 Sep 2020 10:06:36 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kMq3I-0001lp-C3 for pgsql-general@lists.postgresql.org; Mon, 28 Sep 2020 10:06:36 +0000 Received: from ms-10.1blu.de ([178.254.4.101]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kMq3G-0001va-0j for pgsql-general@lists.postgresql.org; Mon, 28 Sep 2020 10:06:35 +0000 Received: from [178.254.11.41] (helo=r314251-amd64) by ms-10.1blu.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kMq39-0006hr-75 for pgsql-general@lists.postgresql.org; Mon, 28 Sep 2020 12:06:27 +0200 Date: Mon, 28 Sep 2020 12:06:25 +0200 From: Matthias Apitz To: PostgreSQL General Subject: how to switch off: WARNING: psql major version 11, server major version 13 Message-ID: <20200928100625.GA2645@r314251-amd64> Reply-To: Matthias Apitz MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Operating-System: FreeBSD 8.0-CURRENT (i386) User-Agent: Mutt/1.8.0 (2017-02-23) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 178.254.11.41 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hello, Maybe it's a FAQ, but I haven't seen the answer. I want to switch of the warning (because I know the fact of version not matching): $ psql -Usisis -dsisis SET psql (11.4, server 13.0) WARNING: psql major version 11, server major version 13. Some psql features might not work. Type "help" for help. sisis=# I tried to do it with the ~/.psqlrc file: $ cat ~/.psqlrc SET client_min_messages = 'error' The command gets executed (as the 'SET' shows), but does not silent the warning. Thanks matthias -- Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045 Public GnuPG key: http://www.unixarea.de/key.pub Без книги нет знания, без знания нет коммунизма (Влaдимир Ильич Ленин) Without books no knowledge - without knowledge no communism (Vladimir Ilyich Lenin) Sin libros no hay saber - sin saber no hay comunismo. (Vladimir Ilich Lenin)