I want to move a few postgresql databases from postgresql13 to postgresql12.
I think I install postgresql13 in a jail.
But what do i do next ?
I think I install postgresql13 in a jail.
But what do i do next ?
I've encountered this problem until I figured out what was going on; freshports is listing only 1 version (usually the oldest) that is supported. Looking at the makefile for it the git tree, it lists either 12 or 13 as acceptable versions.The freebsd port is lagging, ie still depends on on postgresql12
DEFAULT_VERSIONS+=pgsq=l13
Freshports shows the version that's set as default. And that's 12. See /usr/ports/Mk/bsd.default-versions.mk:freshports is listing only 1 version (usually the oldest) that is supported.
# Possible values: 9.6, 10, 11, 12, 13
PGSQL_DEFAULT?= 12
You're missing anCode:DEFAULT_VERSIONS+=pgsql13
=
here. That should beDEFAULT_VERSIONS+= pgsql=13