From 02a4d8e62f3b2aa76c3763923f52157a50b2e652 Mon Sep 17 00:00:00 2001 From: David Fetter Date: Tue, 23 Mar 2010 11:44:17 -0700 Subject: [PATCH] Added configure instructions. --- HACKING.postgres | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/HACKING.postgres b/HACKING.postgres index 865991d..779ecaf 100644 --- a/HACKING.postgres +++ b/HACKING.postgres @@ -12,9 +12,19 @@ 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 + make maintainer-clean . /path/to/new/.bashrc.whatever +When compiling PostgreSQL, here's a handy-ish configure invocation: + +CC="ccache gcc" ./configure \ + --prefix=$PG_PREFIX \ + --with-pgport=$PGPORT \ + --with-perl \ + --with-libxml \ + --enable-debug \ + --enable-cassert + 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.