Re: Patch - Debug builds without optimization

Greg Smith <greg@2ndquadrant.com>

From: Greg Smith <greg@2ndquadrant.com>
To: Greg Stark <stark@mit.edu>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Alvaro Herrera <alvherre@commandprompt.com>, Rados?aw Smogura <rsmogura@softperience.eu>, PG Hackers <pgsql-hackers@postgresql.org>
Date: 2011-06-20T04:25:08Z
Lists: pgsql-hackers
Greg Stark wrote:
> I've always wondered what other people do to iterate quickly.

I'd have bet money you had an elisp program for this by now!

The peg utility script I use makes a reinstall as simple as:

stop
peg build

The UI for peg is still is a little rough around switching to another 
project when using git, and the PGDATA handling could be better.  Being 
able to give each patch I want to play with its own binary+data tree 
with a couple of simple commands is the time consuming part to setup I 
wanted to automate completely, and for that it works great:  
https://github.com/gregs1104/peg

-- 
Greg Smith   2ndQuadrant US    greg@2ndQuadrant.com   Baltimore, MD
PostgreSQL Training, Services, and 24x7 Support  www.2ndQuadrant.us