Search Postgresql Archives

Re: how to switch off: WARNING: psql major version 11, server major version 13

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Matthias,

> On 28. Sep, 2020, at 12:06, Matthias Apitz <guru@xxxxxxxxxxx> wrote:
> 
> 
> 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.

try the -q switch to psql:

$ psql -q

That should do.

Cheers,
Paul





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux