Initial check-in of pg-env
This commit is contained in:
parent
734d422d7c
commit
22d36f283b
2 changed files with 188 additions and 2 deletions
44
README.md
44
README.md
|
@ -1,2 +1,42 @@
|
|||
# pg-env
|
||||
PostgreSQL development management script
|
||||
# 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`
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue