how to switch off: WARNING: psql major version 11, server major version 13 - Mailing list pgsql-general

From Matthias Apitz
Subject how to switch off: WARNING: psql major version 11, server major version 13
Date
Msg-id 20200928100625.GA2645@r314251-amd64
Whole thread Raw
Responses Re: how to switch off: WARNING: psql major version 11, server major version 13
Re: how to switch off: WARNING: psql major version 11, server major version 13
List pgsql-general
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)



pgsql-general by date:

Previous
From: Paul Förster
Date:
Subject: Re: Question about using ICU
Next
From: Paul Förster
Date:
Subject: Re: how to switch off: WARNING: psql major version 11, server major version 13