Re: PostgreSQL 12 crash with segmentation violation in heap_freetuple

Tom Lane <[email protected]> Sun, 10 Nov 2019 10:59:16 -0500
Newsgroups gmane.comp.db.postgresql.novice
Message-ID <[email protected]>
Marcel Ruff <[email protected]> writes:
> I have compiled
>    git clone git://git.postgresql.org/git/postgresql.git
> to find out if this is more stable.
> But /pg_ctl start/ says:
>   /"The data directory was initialized by PostgreSQL version 12, which
> is not compatible with this version 13devel"/

You should do "git checkout REL_12_STABLE" and build from that branch.

(It's advisable to do "git clean -dfx" to make sure you don't have
any leftover build products from the master-branch build, first.
The build process isn't natively smart enough to deal with this
scenario reliably.)

			regards, tom lane