make install
make cgroup_initExtension will try to find pg_isolate.json file in desired PGDATA directory.
Config has following structure
{
"example" : {
"database": "postgres"
},
"example_administator" : {
"database": "postgres",
"user": "extio1"
},
"default" : {
}
}example- name of cgroup- Backend created for
databaseanduserwill be placed into following cgroup - If
defaultspecified, backends that hasn't match to some cgroup will be places here
postgres -D $PGDATA -c shared_preload_libraries=pg_isolate