pg-env/README.md

643 B

PostgreSQL development environment management script

Setting up environment

export PGV=<major version|HEAD>

Activate PostgreSQL Developmnent ENvironment

source pg-env

Compile PostgreSQL source and install

compile

Compile PostgreSQL contrib and install

compile_contrib

Start PostgreSQL

startdb

Stop PostgtreSQL

stopdb

Restart PostgreSQL

restartdb

Remove PGDATA

rmdb

Initialize PostgreSQL Cluster and include custom config

setupdb

Reset DB

resetdb

Reset and Setup Node N

resetdbN

Reset database and install direcotory

resetall

deactivate the environment

deactivate