Re: Hot Deploy in PostGres

From: Merlin Moncure <mmoncure(at)gmail(dot)com>
To: Ishaya Bhatt <ishayabhatt(at)gmail(dot)com>
Cc: Luca Ferrari <fluca1978(at)infinito(dot)it>, "pgsql-novice(at)postgresql(dot)org" <pgsql-novice(at)postgresql(dot)org>
Subject: Re: Hot Deploy in PostGres
Date: 2013-09-16 13:50:20
Message-ID: CAHyXU0wgfWFXnZ=CpUF4C8DXj0U+c1iVTCrTiBPcM9A+Gz48Lw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

On Mon, Sep 16, 2013 at 7:22 AM, Ishaya Bhatt <ishayabhatt(at)gmail(dot)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

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Luca Ferrari 2013-09-16 13:58:29 Re: Hot Deploy in PostGres
Previous Message Anne Wainwright 2013-09-16 12:40:37 Re: cannot do backup - locked?