I upgraded a postgres cluster from version 10.6 to 12.3 with the pg_upgrade command, it was fine, but when I connect with psql they appear:
> psql
psql (12.3, server 10.6)
# select version ();
version
-------------------------------------------------- -------------------------------------------------- -----
PostgreSQL 10.6 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-28), 64 bit
(1 row)
What did I do wrong?