This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir {pg_commit_ts,pg_dynshmem,pg_tblspc,pg_twophase,pg_stat,pg_stat_tmp,pg_replslot,pg_snapshots,pg_logical} | |
mkdir pg_logical/{snapshots,mappings} | |
mkdir pg_xlog/archive_status | |
docker run -it -v /path/to/postgres_data:/var/lib/postgres/data postgres:9.6 /bin/bash | |
gosu postgres pg_resetxlog -f /var/lib/postgres/data |
OlderNewer