Postgresql 9.6 安装pg_pathman 高效分区表实现


yum install git
yum install postgresql96-devel.x86_64  openssl-devel.x86_64
yum install gcc
git clone https://github.com/postgrespro/pg_pathman
export PATH=/usr/pgsql-9.6/bin:$PATH
vi /var/lib/pgsql/9.6/data/postgresql.conf
shared_preload_libraries = 'pg_pathman'

service postgresql-9.6 restart

==test==
\\dx
\\c exampledb
create extension pg_pathman;
\\dx

http://www.jianshu.com/p/7a8737250456