pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Windows: Make pg_ctl reliably detect service status
12+ messages / 4 participants
[nested] [flat]

* pgsql: Windows: Make pg_ctl reliably detect service status
@ 2016-01-07 15:01 Alvaro Herrera <alvherre@alvh.no-ip.org>
  2016-01-07 20:04 ` Re: [COMMITTERS] pgsql: Windows: Make pg_ctl reliably detect service status Alvaro Herrera <alvherre@2ndquadrant.com>
  0 siblings, 1 reply; 12+ messages in thread

From: Alvaro Herrera @ 2016-01-07 15:01 UTC (permalink / raw)
  To: pgsql-committers

Windows: Make pg_ctl reliably detect service status

pg_ctl is using isatty() to verify whether the process is running in a
terminal, and if not it sends its output to Windows' Event Log ... which
does the wrong thing when the output has been redirected to a pipe, as
reported in bug #13592.

To fix, make pg_ctl use the code we already have to detect service-ness:
in the master branch, move src/backend/port/win32/security.c to src/port
(with suitable tweaks so that it runs properly in backend and frontend
environments); pg_ctl already has access to pgport so it Just Works.  In
older branches, that's likely to cause trouble, so instead duplicate the
required code in pg_ctl.c.

Author: Michael Paquier
Bug report and diagnosis: Egon Kocjan
Backpatch: all supported branches

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/a967613911f7ef7b6387b9e8718f0ab8f0c4d9c8

Modified Files
--------------
src/backend/port/win32/Makefile   |    2 +-
src/backend/port/win32/security.c |  248 --------------------------------
src/bin/pg_ctl/pg_ctl.c           |    2 +-
src/include/port/win32.h          |    7 +-
src/port/win32security.c          |  282 +++++++++++++++++++++++++++++++++++++
src/tools/msvc/Mkvcbuild.pm       |    2 +-
6 files changed, 289 insertions(+), 254 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 12+ messages in thread

* Re: [COMMITTERS] pgsql: Windows: Make pg_ctl reliably detect service status
  2016-01-07 15:01 pgsql: Windows: Make pg_ctl reliably detect service status Alvaro Herrera <alvherre@alvh.no-ip.org>
@ 2016-01-07 20:04 ` Alvaro Herrera <alvherre@2ndquadrant.com>
  2016-01-07 20:16   ` Re: Re: [COMMITTERS] pgsql: Windows: Make pg_ctl reliably detect service status Alvaro Herrera <alvherre@2ndquadrant.com>
  0 siblings, 1 reply; 12+ messages in thread

From: Alvaro Herrera @ 2016-01-07 20:04 UTC (permalink / raw)
  To: pgsql-hackers@postgresql.org

Alvaro Herrera wrote:
> Windows: Make pg_ctl reliably detect service status
> 
> pg_ctl is using isatty() to verify whether the process is running in a
> terminal, and if not it sends its output to Windows' Event Log ... which
> does the wrong thing when the output has been redirected to a pipe, as
> reported in bug #13592.

This broke the mingw port.  Looking.

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



^ permalink  raw  reply  [nested|flat] 12+ messages in thread

* Re: Re: [COMMITTERS] pgsql: Windows: Make pg_ctl reliably detect service status
  2016-01-07 15:01 pgsql: Windows: Make pg_ctl reliably detect service status Alvaro Herrera <alvherre@alvh.no-ip.org>
  2016-01-07 20:04 ` Re: [COMMITTERS] pgsql: Windows: Make pg_ctl reliably detect service status Alvaro Herrera <alvherre@2ndquadrant.com>
@ 2016-01-07 20:16   ` Alvaro Herrera <alvherre@2ndquadrant.com>
  2016-01-07 21:50     ` Re: Re: [COMMITTERS] pgsql: Windows: Make pg_ctl reliably detect service status Alvaro Herrera <alvherre@2ndquadrant.com>
  0 siblings, 1 reply; 12+ messages in thread

From: Alvaro Herrera @ 2016-01-07 20:16 UTC (permalink / raw)
  To: pgsql-hackers@postgresql.org

Alvaro Herrera wrote:
> Alvaro Herrera wrote:
> > Windows: Make pg_ctl reliably detect service status
> > 
> > pg_ctl is using isatty() to verify whether the process is running in a
> > terminal, and if not it sends its output to Windows' Event Log ... which
> > does the wrong thing when the output has been redirected to a pipe, as
> > reported in bug #13592.
> 
> This broke the mingw port.  Looking.

A bit of grepping appears to say that I ought to patch configure.in to
add
  AC_LIBOBJ(win32security)
around line 1580 and rerun autoconf, but this seems completely at odds
with the documented use of AC_LIBOBJS.  Is this black magic?

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



^ permalink  raw  reply  [nested|flat] 12+ messages in thread

* Re: Re: [COMMITTERS] pgsql: Windows: Make pg_ctl reliably detect service status
  2016-01-07 15:01 pgsql: Windows: Make pg_ctl reliably detect service status Alvaro Herrera <alvherre@alvh.no-ip.org>
  2016-01-07 20:04 ` Re: [COMMITTERS] pgsql: Windows: Make pg_ctl reliably detect service status Alvaro Herrera <alvherre@2ndquadrant.com>
  2016-01-07 20:16   ` Re: Re: [COMMITTERS] pgsql: Windows: Make pg_ctl reliably detect service status Alvaro Herrera <alvherre@2ndquadrant.com>
@ 2016-01-07 21:50     ` Alvaro Herrera <alvherre@2ndquadrant.com>
  2016-01-07 22:21       ` Re: Re: [COMMITTERS] pgsql: Windows: Make pg_ctl reliably detect service status Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 12+ messages in thread

From: Alvaro Herrera @ 2016-01-07 21:50 UTC (permalink / raw)
  To: pgsql-hackers@postgresql.org

Alvaro Herrera wrote:
> Alvaro Herrera wrote:
> > Alvaro Herrera wrote:
> > > Windows: Make pg_ctl reliably detect service status
> > > 
> > > pg_ctl is using isatty() to verify whether the process is running in a
> > > terminal, and if not it sends its output to Windows' Event Log ... which
> > > does the wrong thing when the output has been redirected to a pipe, as
> > > reported in bug #13592.
> > 
> > This broke the mingw port.  Looking.
> 
> A bit of grepping appears to say that I ought to patch configure.in to
> add
>   AC_LIBOBJ(win32security)
> around line 1580 and rerun autoconf, but this seems completely at odds
> with the documented use of AC_LIBOBJS.  Is this black magic?

I confirmed that adding that line makes the new file get compiled.  I
also noticed these warnings when compiling it:

In file included from /usr/lib/gcc/x86_64-w64-mingw32/4.9-win32/include/stdarg.h:1:0,
                 from /pgsql/source/master/src/include/c.h:85,
                 from /pgsql/source/master/src/include/postgres_fe.h:25,
                 from /pgsql/source/master/src/port/win32security.c:17:
/pgsql/source/master/src/port/win32security.c: In function ‘log_error’:
/pgsql/source/master/src/port/win32security.c:37:11: warning: passing argument 1 of ‘__builtin_va_start’ from incompatible pointer type
  va_start(fmt, ap);
           ^
/pgsql/source/master/src/port/win32security.c:37:11: note: expected ‘char **’ but argument is of type ‘const char **’
/pgsql/source/master/src/port/win32security.c:37:2: warning: second parameter of ‘va_start’ not last named argument [-Wvarargs]
  va_start(fmt, ap);
  ^

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



^ permalink  raw  reply  [nested|flat] 12+ messages in thread

* Re: Re: [COMMITTERS] pgsql: Windows: Make pg_ctl reliably detect service status
  2016-01-07 15:01 pgsql: Windows: Make pg_ctl reliably detect service status Alvaro Herrera <alvherre@alvh.no-ip.org>
  2016-01-07 20:04 ` Re: [COMMITTERS] pgsql: Windows: Make pg_ctl reliably detect service status Alvaro Herrera <alvherre@2ndquadrant.com>
  2016-01-07 20:16   ` Re: Re: [COMMITTERS] pgsql: Windows: Make pg_ctl reliably detect service status Alvaro Herrera <alvherre@2ndquadrant.com>
  2016-01-07 21:50     ` Re: Re: [COMMITTERS] pgsql: Windows: Make pg_ctl reliably detect service status Alvaro Herrera <alvherre@2ndquadrant.com>
@ 2016-01-07 22:21       ` Tom Lane <tgl@sss.pgh.pa.us>
  2016-01-07 23:38         ` Re: Re: [COMMITTERS] pgsql: Windows: Make pg_ctl reliably detect service status Alvaro Herrera <alvherre@2ndquadrant.com>
  0 siblings, 1 reply; 12+ messages in thread

From: Tom Lane @ 2016-01-07 22:21 UTC (permalink / raw)
  To: Alvaro Herrera <alvherre@2ndquadrant.com>; +Cc: pgsql-hackers@postgresql.org

Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> I confirmed that adding that line makes the new file get compiled.  I
> also noticed these warnings when compiling it:

> In file included from /usr/lib/gcc/x86_64-w64-mingw32/4.9-win32/include/stdarg.h:1:0,
>                  from /pgsql/source/master/src/include/c.h:85,
>                  from /pgsql/source/master/src/include/postgres_fe.h:25,
>                  from /pgsql/source/master/src/port/win32security.c:17:
> /pgsql/source/master/src/port/win32security.c: In function ‘log_error’:
> /pgsql/source/master/src/port/win32security.c:37:11: warning: passing argument 1 of ‘__builtin_va_start’ from incompatible pointer type
>   va_start(fmt, ap);
>            ^

I take it this code is quite untested, because what that's whining
about is that the arguments of va_start() are reversed.

			regards, tom lane


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



^ permalink  raw  reply  [nested|flat] 12+ messages in thread

* Re: Re: [COMMITTERS] pgsql: Windows: Make pg_ctl reliably detect service status
  2016-01-07 15:01 pgsql: Windows: Make pg_ctl reliably detect service status Alvaro Herrera <alvherre@alvh.no-ip.org>
  2016-01-07 20:04 ` Re: [COMMITTERS] pgsql: Windows: Make pg_ctl reliably detect service status Alvaro Herrera <alvherre@2ndquadrant.com>
  2016-01-07 20:16   ` Re: Re: [COMMITTERS] pgsql: Windows: Make pg_ctl reliably detect service status Alvaro Herrera <alvherre@2ndquadrant.com>
  2016-01-07 21:50     ` Re: Re: [COMMITTERS] pgsql: Windows: Make pg_ctl reliably detect service status Alvaro Herrera <alvherre@2ndquadrant.com>
  2016-01-07 22:21       ` Re: Re: [COMMITTERS] pgsql: Windows: Make pg_ctl reliably detect service status Tom Lane <tgl@sss.pgh.pa.us>
@ 2016-01-07 23:38         ` Alvaro Herrera <alvherre@2ndquadrant.com>
  2016-01-08 00:04           ` Re: Re: [COMMITTERS] pgsql: Windows: Make pg_ctl reliably detect service status Michael Paquier <michael.paquier@gmail.com>
  0 siblings, 1 reply; 12+ messages in thread

From: Alvaro Herrera @ 2016-01-07 23:38 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-hackers@postgresql.org

Tom Lane wrote:
> Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> > I confirmed that adding that line makes the new file get compiled.  I
> > also noticed these warnings when compiling it:
> 
> > In file included from /usr/lib/gcc/x86_64-w64-mingw32/4.9-win32/include/stdarg.h:1:0,
> >                  from /pgsql/source/master/src/include/c.h:85,
> >                  from /pgsql/source/master/src/include/postgres_fe.h:25,
> >                  from /pgsql/source/master/src/port/win32security.c:17:
> > /pgsql/source/master/src/port/win32security.c: In function ‘log_error’:
> > /pgsql/source/master/src/port/win32security.c:37:11: warning: passing argument 1 of ‘__builtin_va_start’ from incompatible pointer type
> >   va_start(fmt, ap);
> >            ^
> 
> I take it this code is quite untested, because what that's whining
> about is that the arguments of va_start() are reversed.

It is untested by me, yes.  Pushed a fix for this problem.

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



^ permalink  raw  reply  [nested|flat] 12+ messages in thread

* Re: Re: [COMMITTERS] pgsql: Windows: Make pg_ctl reliably detect service status
  2016-01-07 15:01 pgsql: Windows: Make pg_ctl reliably detect service status Alvaro Herrera <alvherre@alvh.no-ip.org>
  2016-01-07 20:04 ` Re: [COMMITTERS] pgsql: Windows: Make pg_ctl reliably detect service status Alvaro Herrera <alvherre@2ndquadrant.com>
  2016-01-07 20:16   ` Re: Re: [COMMITTERS] pgsql: Windows: Make pg_ctl reliably detect service status Alvaro Herrera <alvherre@2ndquadrant.com>
  2016-01-07 21:50     ` Re: Re: [COMMITTERS] pgsql: Windows: Make pg_ctl reliably detect service status Alvaro Herrera <alvherre@2ndquadrant.com>
  2016-01-07 22:21       ` Re: Re: [COMMITTERS] pgsql: Windows: Make pg_ctl reliably detect service status Tom Lane <tgl@sss.pgh.pa.us>
  2016-01-07 23:38         ` Re: Re: [COMMITTERS] pgsql: Windows: Make pg_ctl reliably detect service status Alvaro Herrera <alvherre@2ndquadrant.com>
@ 2016-01-08 00:04           ` Michael Paquier <michael.paquier@gmail.com>
  0 siblings, 0 replies; 12+ messages in thread

From: Michael Paquier @ 2016-01-08 00:04 UTC (permalink / raw)
  To: Alvaro Herrera <alvherre@2ndquadrant.com>; +Cc: Tom Lane <tgl@sss.pgh.pa.us>; PostgreSQL mailing lists <pgsql-hackers@postgresql.org>

On Fri, Jan 8, 2016 at 8:38 AM, Alvaro Herrera <alvherre@2ndquadrant.com> wrote:
> Tom Lane wrote:
>> Alvaro Herrera <alvherre@2ndquadrant.com> writes:
>> > I confirmed that adding that line makes the new file get compiled.  I
>> > also noticed these warnings when compiling it:
>>
>> > In file included from /usr/lib/gcc/x86_64-w64-mingw32/4.9-win32/include/stdarg.h:1:0,
>> >                  from /pgsql/source/master/src/include/c.h:85,
>> >                  from /pgsql/source/master/src/include/postgres_fe.h:25,
>> >                  from /pgsql/source/master/src/port/win32security.c:17:
>> > /pgsql/source/master/src/port/win32security.c: In function ‘log_error’:
>> > /pgsql/source/master/src/port/win32security.c:37:11: warning: passing argument 1 of ‘__builtin_va_start’ from incompatible pointer type
>> >   va_start(fmt, ap);
>> >            ^
>>
>> I take it this code is quite untested, because what that's whining
>> about is that the arguments of va_start() are reversed.
>
> It is untested by me, yes.  Pushed a fix for this problem.

Arg, thanks! My MS 2010 compiler did not complain about that. That's a
bit depressing...
-- 
Michael


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



^ permalink  raw  reply  [nested|flat] 12+ messages in thread

* pgsql: Windows: Make pg_ctl reliably detect service status
@ 2016-01-07 15:01 Alvaro Herrera <alvherre@alvh.no-ip.org>
  0 siblings, 0 replies; 12+ messages in thread

From: Alvaro Herrera @ 2016-01-07 15:01 UTC (permalink / raw)
  To: pgsql-committers

Windows: Make pg_ctl reliably detect service status

pg_ctl is using isatty() to verify whether the process is running in a
terminal, and if not it sends its output to Windows' Event Log ... which
does the wrong thing when the output has been redirected to a pipe, as
reported in bug #13592.

To fix, make pg_ctl use the code we already have to detect service-ness:
in the master branch, move src/backend/port/win32/security.c to src/port
(with suitable tweaks so that it runs properly in backend and frontend
environments); pg_ctl already has access to pgport so it Just Works.  In
older branches, that's likely to cause trouble, so instead duplicate the
required code in pg_ctl.c.

Author: Michael Paquier
Bug report and diagnosis: Egon Kocjan
Backpatch: all supported branches

Branch
------
REL9_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/744d01c9a188eef546dae6a4c3c4d0a19eb20a08

Modified Files
--------------
src/bin/pg_ctl/pg_ctl.c |  160 ++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 159 insertions(+), 1 deletion(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 12+ messages in thread

* pgsql: Windows: Make pg_ctl reliably detect service status
@ 2016-01-07 15:01 Alvaro Herrera <alvherre@alvh.no-ip.org>
  0 siblings, 0 replies; 12+ messages in thread

From: Alvaro Herrera @ 2016-01-07 15:01 UTC (permalink / raw)
  To: pgsql-committers

Windows: Make pg_ctl reliably detect service status

pg_ctl is using isatty() to verify whether the process is running in a
terminal, and if not it sends its output to Windows' Event Log ... which
does the wrong thing when the output has been redirected to a pipe, as
reported in bug #13592.

To fix, make pg_ctl use the code we already have to detect service-ness:
in the master branch, move src/backend/port/win32/security.c to src/port
(with suitable tweaks so that it runs properly in backend and frontend
environments); pg_ctl already has access to pgport so it Just Works.  In
older branches, that's likely to cause trouble, so instead duplicate the
required code in pg_ctl.c.

Author: Michael Paquier
Bug report and diagnosis: Egon Kocjan
Backpatch: all supported branches

Branch
------
REL9_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/c7aca3d45b3dc97461be94c836a7deeeca4111b2

Modified Files
--------------
src/bin/pg_ctl/pg_ctl.c |  160 ++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 159 insertions(+), 1 deletion(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 12+ messages in thread

* pgsql: Windows: Make pg_ctl reliably detect service status
@ 2016-01-07 15:01 Alvaro Herrera <alvherre@alvh.no-ip.org>
  0 siblings, 0 replies; 12+ messages in thread

From: Alvaro Herrera @ 2016-01-07 15:01 UTC (permalink / raw)
  To: pgsql-committers

Windows: Make pg_ctl reliably detect service status

pg_ctl is using isatty() to verify whether the process is running in a
terminal, and if not it sends its output to Windows' Event Log ... which
does the wrong thing when the output has been redirected to a pipe, as
reported in bug #13592.

To fix, make pg_ctl use the code we already have to detect service-ness:
in the master branch, move src/backend/port/win32/security.c to src/port
(with suitable tweaks so that it runs properly in backend and frontend
environments); pg_ctl already has access to pgport so it Just Works.  In
older branches, that's likely to cause trouble, so instead duplicate the
required code in pg_ctl.c.

Author: Michael Paquier
Bug report and diagnosis: Egon Kocjan
Backpatch: all supported branches

Branch
------
REL9_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/74d4009b8ceff043dcd74af67437934d9eeebca7

Modified Files
--------------
src/bin/pg_ctl/pg_ctl.c |  160 ++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 159 insertions(+), 1 deletion(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 12+ messages in thread

* pgsql: Windows: Make pg_ctl reliably detect service status
@ 2016-01-07 15:01 Alvaro Herrera <alvherre@alvh.no-ip.org>
  0 siblings, 0 replies; 12+ messages in thread

From: Alvaro Herrera @ 2016-01-07 15:01 UTC (permalink / raw)
  To: pgsql-committers

Windows: Make pg_ctl reliably detect service status

pg_ctl is using isatty() to verify whether the process is running in a
terminal, and if not it sends its output to Windows' Event Log ... which
does the wrong thing when the output has been redirected to a pipe, as
reported in bug #13592.

To fix, make pg_ctl use the code we already have to detect service-ness:
in the master branch, move src/backend/port/win32/security.c to src/port
(with suitable tweaks so that it runs properly in backend and frontend
environments); pg_ctl already has access to pgport so it Just Works.  In
older branches, that's likely to cause trouble, so instead duplicate the
required code in pg_ctl.c.

Author: Michael Paquier
Bug report and diagnosis: Egon Kocjan
Backpatch: all supported branches

Branch
------
REL9_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/5c4cbd5d103c681a8cad586bac3588029ae44590

Modified Files
--------------
src/bin/pg_ctl/pg_ctl.c |  160 ++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 159 insertions(+), 1 deletion(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 12+ messages in thread

* pgsql: Windows: Make pg_ctl reliably detect service status
@ 2016-01-07 15:01 Alvaro Herrera <alvherre@alvh.no-ip.org>
  0 siblings, 0 replies; 12+ messages in thread

From: Alvaro Herrera @ 2016-01-07 15:01 UTC (permalink / raw)
  To: pgsql-committers

Windows: Make pg_ctl reliably detect service status

pg_ctl is using isatty() to verify whether the process is running in a
terminal, and if not it sends its output to Windows' Event Log ... which
does the wrong thing when the output has been redirected to a pipe, as
reported in bug #13592.

To fix, make pg_ctl use the code we already have to detect service-ness:
in the master branch, move src/backend/port/win32/security.c to src/port
(with suitable tweaks so that it runs properly in backend and frontend
environments); pg_ctl already has access to pgport so it Just Works.  In
older branches, that's likely to cause trouble, so instead duplicate the
required code in pg_ctl.c.

Author: Michael Paquier
Bug report and diagnosis: Egon Kocjan
Backpatch: all supported branches

Branch
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/b96f6f4443fcc68336c7ed45e470c577a4891c00

Modified Files
--------------
src/bin/pg_ctl/pg_ctl.c |  160 ++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 159 insertions(+), 1 deletion(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 12+ messages in thread


end of thread, other threads:[~2016-01-08 00:04 UTC | newest]

Thread overview: 12+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-01-07 15:01 pgsql: Windows: Make pg_ctl reliably detect service status Alvaro Herrera <alvherre@alvh.no-ip.org>
2016-01-07 20:04 ` Alvaro Herrera <alvherre@2ndquadrant.com>
2016-01-07 20:16   ` Alvaro Herrera <alvherre@2ndquadrant.com>
2016-01-07 21:50     ` Alvaro Herrera <alvherre@2ndquadrant.com>
2016-01-07 22:21       ` Tom Lane <tgl@sss.pgh.pa.us>
2016-01-07 23:38         ` Alvaro Herrera <alvherre@2ndquadrant.com>
2016-01-08 00:04           ` Michael Paquier <michael.paquier@gmail.com>
2016-01-07 15:01 pgsql: Windows: Make pg_ctl reliably detect service status Alvaro Herrera <alvherre@alvh.no-ip.org>
2016-01-07 15:01 pgsql: Windows: Make pg_ctl reliably detect service status Alvaro Herrera <alvherre@alvh.no-ip.org>
2016-01-07 15:01 pgsql: Windows: Make pg_ctl reliably detect service status Alvaro Herrera <alvherre@alvh.no-ip.org>
2016-01-07 15:01 pgsql: Windows: Make pg_ctl reliably detect service status Alvaro Herrera <alvherre@alvh.no-ip.org>
2016-01-07 15:01 pgsql: Windows: Make pg_ctl reliably detect service status Alvaro Herrera <alvherre@alvh.no-ip.org>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox