Skip to content

Commit

Permalink
Added HACKING.postgres
Browse files Browse the repository at this point in the history
  • Loading branch information
davidfetter committed Mar 4, 2010
1 parent a4516e0 commit 7a54f57
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions HACKING.postgres
@@ -0,0 +1,20 @@
PostgreSQL depends on some environment variables and directories which
are easiest to have via a .bashrc like this:

export PG_PREFIX=/home/shackle/tip
export PGDATA=$PG_PREFIX/data
export PATH=$PG_PREFIX/bin:$PATH
export PGPORT=2225
export PGUSER=shackle
export PGDATABASE=postgres

When you want to work on CVS TIP (aka git master) of PostgreSQL, you'd
source this file first. If you want to change to another
PostgreSQL, do:

make distclean
. /path/to/new/.bashrc.whatever

To avoid confusion, you also might want to un-symlink plparrot from
beneath the other source tree and symlink it under contrib/ in the
source tree you want to use.

0 comments on commit 7a54f57

Please sign in to comment.