From: | Radosław Smogura <rsmogura(at)softperience(dot)eu> |
---|---|
To: | Greg Stark <stark(at)mit(dot)edu> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Alvaro Herrera <alvherre(at)commandprompt(dot)com>, PG Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Patch - Debug builds without optimization |
Date: | 2011-06-20 07:07:19 |
Message-ID: | 201106200907.19329.rsmogura@softperience.eu |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Greg Stark <stark(at)mit(dot)edu> Monday 20 of June 2011 03:39:12
> On Thu, Jun 16, 2011 at 9:00 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Alexander Korotkov | 2011-06-20 07:46:28 | Re: WIP: Fast GiST index build |
Previous Message | Jeff Davis | 2011-06-20 06:33:02 | Re: Range Types and extensions |