Skip site navigation (1) Skip section navigation (2)

Re: [HACKERS] pg_ctl.c

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: "Patches (PostgreSQL)" <pgsql-patches(at)postgresql(dot)org>
Subject: Re: [HACKERS] pg_ctl.c
Date: 2004-05-25 15:40:36
Message-ID: 40B368F4.8090202@dunslane.net (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-patches
Bruce Momjian wrote:

>I am almost finished Andrew's version of pg_ctl.c.  Here is the current
>version I am using.
>
>  
>

Bruce,

Thanks for advancing this.

I think this is probably fairly close for Unix - the main thing missing 
is a more determined effort to find out what port is actually being used 
(i.e we need to check the options and the config file).

For Windows we will need different command lines in start_postgres() (or 
if that won't work direct calls to CreateProcess() ), and a way to make 
sure we don't collide with management by SCM - probably the easiest way 
once we have a way of detecting that this is so is to issue "net 
{stop,start} servicename" commands instead of sending 
SIGINT/SIGQUIT/SIGTERM followed by a call to run postmaster.

If you can get it in a shape that we can get it in before feature freeze 
I will try to do any polishing necessary afterwards - unfortunately 
pressure of work is restricting my time right now.

cheers

andrew



In response to

  • pg_ctl.c at 2004-05-25 04:03:39 from Bruce Momjian

Responses

pgsql-hackers by date

Next:From: Bruce MomjianDate: 2004-05-25 15:51:16
Subject: Re: [HACKERS] pg_ctl.c
Previous:From: Gaetano MendolaDate: 2004-05-25 15:17:57
Subject: Re: Optimizer bug??

pgsql-patches by date

Next:From: Bruce MomjianDate: 2004-05-25 15:51:16
Subject: Re: [HACKERS] pg_ctl.c
Previous:From: Bruce MomjianDate: 2004-05-25 13:54:31
Subject: Re: pg_ctl.c

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group