Re: Hot Deploy in PostGres

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Re: Hot Deploy in PostGres
Дата
Msg-id CAHyXU0wgfWFXnZ=CpUF4C8DXj0U+c1iVTCrTiBPcM9A+Gz48Lw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Hot Deploy in PostGres  (Ishaya Bhatt <ishayabhatt@gmail.com>)
Список pgsql-novice
On Mon, Sep 16, 2013 at 7:22 AM, Ishaya Bhatt <ishayabhatt@gmail.com> wrote:
> I am trying to make some changes to the sorting code(C code of backend). In
> the process, whenever I make some changes, I have to run 'make install'
> again so as to compile and redeploy my changes to the server. Is there any
> faster way where I can deploy my changes without having to restart the
> server?

Well, technically you could run 'make' (building the binaries) and
manually get that binary to wherever pg_ctl is looking...if you were
feeling really dirty you could use a symlink.  it's not clear how much
time you'd really be saving however -- the install step of make
doesn't really take all that long.  Also, there's no way to deploy
changes without restarting the server except in the very special case
of libraries loaded with LOAD.

merlin


В списке pgsql-novice по дате отправления:

Предыдущее
От: Anne Wainwright
Дата:
Сообщение: Re: cannot do backup - locked?
Следующее
От: Luca Ferrari
Дата:
Сообщение: Re: Hot Deploy in PostGres