Re: pg_ctl start may return 0 even if the postmaster has been already started on Windows

From: Yasir <yasir(dot)hussain(dot)shah(at)gmail(dot)com>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org
Cc: Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>
Subject: Re: pg_ctl start may return 0 even if the postmaster has been already started on Windows
Date: 2024-07-16 12:04:31
Message-ID: CAA9OW9dWPKUtPyjjzjJX_bi0AxRozPU9eN1k6YOvCksoWWrn_Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Jul 16, 2024 at 4:58 PM Yasir Shah <yasir(dot)hussain(dot)shah(at)gmail(dot)com>
wrote:

> The following review has been posted through the commitfest application:
> make installcheck-world: tested, failed (meson test, passed)
> Implements feature: tested, failed (tested, passed)
> Spec compliant: not tested (tested, passed
> with suggestion)
> Documentation: not tested
>

Please ignore the above 4 lines in my review. See my comments in blue.

> Hi,
>
> I have verified following:
> - Bug exits in PG17. I also checked it in PG16 but it does not exits
> there.
> - After applying your patch, I can confirm that bug get fixed.
> - no regression found. I ran "meson test".
> - I would like to suggest you that #includes should be included at
> appropriate location keeping the #includes alphabetically sorted, what I
> observed in the PG code as a standard:
> Your patch:
> #include <versionhelpers.h>
> #include <tlhelp32.h>
>
> It should be like:
> #include <tlhelp32.h>
> #include <versionhelpers.h>
>
> Regards...
>
>
> Yasir Hussain
> Bitnine Global Inc.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Noah Misch 2024-07-16 12:19:35 Re: Use read streams in CREATE DATABASE command when the strategy is wal_log
Previous Message Yasir Shah 2024-07-16 11:57:37 Re: pg_ctl start may return 0 even if the postmaster has been already started on Windows