Re: Patch - Debug builds without optimization - Mailing list pgsql-hackers

From Radosław Smogura
Subject Re: Patch - Debug builds without optimization
Date
Msg-id 201106200907.19329.rsmogura@softperience.eu
Whole thread Raw
In response to Re: Patch - Debug builds without optimization  (Greg Stark <stark@mit.edu>)
List pgsql-hackers
Greg Stark <stark@mit.edu> Monday 20 of June 2011 03:39:12
> On Thu, Jun 16, 2011 at 9:00 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> > BTW, if you're hacking Postgres code and don't already have a
> > "reinstall" script, you need one.  Mine is basically
> > 
> >        pg_ctl stop
> >        cd $PGBLDROOT/src/backend
> >        make install-bin
> >        pg_ctl start
> 
> I've always wondered what other people do to iterate quickly. It's a
> bit of a pain that you can't just run the binary out of the build
> tree. This looks a lot safer than some of the things I was considering
> doing with symlinks.
I actually go to installation directory
and call in one line (simple because up arrow helps).

pg_ctl -D db stop; gmake -C ../postgresql -j5 install; pg_ctl -D db start

Regards,
Radek


pgsql-hackers by date:

Previous
From: Jeff Davis
Date:
Subject: Re: Range Types and extensions
Next
From: Alexander Korotkov
Date:
Subject: Re: WIP: Fast GiST index build