Search Postgresql Archives

Re: pg_upgrade: can I use same binary for old & new?

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

 



On Sat, Jul 5, 2025 at 9:52 AM Pierre Fortin <pf@xxxxxxxxxxx> wrote:
If new pg_upgrade is the only binary, will both -b and -B default to it?
Maybe at minimum I may need to specify:
$ pg_upgrade -b /usr/bin -d data15 -D data17 -k


 pgsql/pgsql-18/bin
> ./pg_ctl -D /var/pgsql/postgres-17 start
waiting for server to start....2025-07-05 16:58:56.559 UTC [293839] FATAL:  database files are incompatible with server
2025-07-05 16:58:56.559 UTC [293839] DETAIL:  The data directory was initialized by PostgreSQL version 17, which is not compatible with this version 18beta1.
pg_ctl: control file appears to be corrupt


David J.


[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 Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux