Re: Hot Deploy in PostGres - Mailing list pgsql-novice

From Merlin Moncure
Subject Re: Hot Deploy in PostGres
Date
Msg-id CAHyXU0wgfWFXnZ=CpUF4C8DXj0U+c1iVTCrTiBPcM9A+Gz48Lw@mail.gmail.com
Whole thread Raw
In response to Re: Hot Deploy in PostGres  (Ishaya Bhatt <ishayabhatt@gmail.com>)
List 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 by date:

Previous
From: Anne Wainwright
Date:
Subject: Re: cannot do backup - locked?
Next
From: Luca Ferrari
Date:
Subject: Re: Hot Deploy in PostGres