Re: Patch - Debug builds without optimization

Поиск
Список
Период
Сортировка
От Radosław Smogura
Тема Re: Patch - Debug builds without optimization
Дата
Msg-id 201106200907.19329.rsmogura@softperience.eu
обсуждение исходный текст
Ответ на Re: Patch - Debug builds without optimization  (Greg Stark <stark@mit.edu>)
Список 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 по дате отправления:

Предыдущее
От: Jeff Davis
Дата:
Сообщение: Re: Range Types and extensions
Следующее
От: Alexander Korotkov
Дата:
Сообщение: Re: WIP: Fast GiST index build