# Clone the git repository of postgres git clone git://git.postgresql.org/git/postgresql.git # Check out the version for which the patch was created (PostgreSQL 14.0) git checkout 1ed1f801cdd114822a5f08409f23a7f22be0b9fb # apply the patch patch -p1 < rmj-postgres.patch # compile and install postgres