pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Matthias Apitz <guru@unixarea.de>
To: PostgreSQL General <pgsql-general@lists.postgresql.org>
Subject: how to switch off: WARNING: psql major version 11, server major version 13
Date: Mon, 28 Sep 2020 12:06:25 +0200
Message-ID: <20200928100625.GA2645@r314251-amd64> (raw)


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)





view thread (5+ messages)  latest in thread

Message-ID: <20200928100625.GA2645@r314251-amd64>
Permalink:  ../20200928100625.GA2645@r314251-amd64/
Also on:    postgresql.org/message-id/20200928100625.GA2645@r314251-amd64

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: guru@unixarea.de
  Subject: Re: how to switch off: WARNING: psql major version 11, server major version 13
  In-Reply-To: <20200928100625.GA2645@r314251-amd64>
  References: <20200928100625.GA2645@r314251-amd64>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox