Skip to content

Scripts to help manager differents PostgreSQL versions with multiple instances and no root access

Notifications You must be signed in to change notification settings

sttachoires/pgm

Repository files navigation

PGBrewer Set of scripts to help manage PostgreSQL

FEATURES

pgbrewer is a set of bash scripts that helps manage multiple version of PostgreSQL with multiple instances, all on the same server.

All install with current user. PostgreSQL instances will be launch as current user too. Prepare PostgreSQL prerequisits Prepare ssl, perl, and python (for now you need to be root)

QUICK SETUP

  1. Get the source

  2. Copy config.sample.mk to config.mk

  3. Edit the config.mk, specified prefix should exits and must be read, write, execute for current user.

  4. Run make and make install

  5. source .pgb_profile

  6. Run pgb_server_install /path/to/package/dir versionlabel

  7. Try pgb_instance_create versionlabel instancename

  8. Try pgb_<TAB>, test, and tell me.

DEVELOPMENT

The source code is available on github: https://github.com/sttachoires

pgbrewer is developped by Stephane Tachoires under a classic 2 clauses BSD license. See license block in the scripts or the COPYRIGHT file.

About

Scripts to help manager differents PostgreSQL versions with multiple instances and no root access

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published