I see that my current version is 10.22:
$ sudo -u postgres psql -c "SELECT version();" [sudo] password for edvinas: Sorry, try again. [sudo] password for edvinas: version -------------------------------------------------------------------------------------------------------------------------------------- PostgreSQL 10.22 (Ubuntu 10.22-0ubuntu0.18.04.1) on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0, 64-bit (1 row)
So probably I should go and execute all the steps in https://discourse.maas.io/t/upgrading-postgresql-to-version-12/5913 and then verify that this command "sudo -u postgres psql -c "SELECT version();"" shows correct version?
I see that my current version is 10.22:
$ sudo -u postgres psql -c "SELECT version();"
version ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- - 18.04.1) on x86_64- pc-linux- gnu, compiled by gcc (Ubuntu 7.5.0-3ubuntu1~ 18.04) 7.5.0, 64-bit
[sudo] password for edvinas:
Sorry, try again.
[sudo] password for edvinas:
-------
PostgreSQL 10.22 (Ubuntu 10.22-0ubuntu0.
(1 row)
So probably I should go and execute all the steps in https:/ /discourse. maas.io/ t/upgrading- postgresql- to-version- 12/5913 and then verify that this command "sudo -u postgres psql -c "SELECT version();"" shows correct version?