Re: pgsql: Extend framework from commit 53be0b1ad to report latch waits.

From: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
To: Robert Haas <rhaas(at)postgresql(dot)org>
Cc: pgsql-committers <pgsql-committers(at)postgresql(dot)org>
Subject: Re: pgsql: Extend framework from commit 53be0b1ad to report latch waits.
Date: 2016-10-05 12:23:50
Message-ID: CAA4eK1KTGkrRc1n40Jzn5xFq52u2mXCcK+L8BrkKoEPeBHssvw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

On Tue, Oct 4, 2016 at 8:32 PM, Robert Haas <rhaas(at)postgresql(dot)org> wrote:
> Extend framework from commit 53be0b1ad to report latch waits.
>

I am facing windows below compilation error:

1>pgstat.h(726): warning C4005: 'WAIT_TIMEOUT' : macro redefinition
1>c:\Program Files (x86)\Microsoft
SDKs\Windows\v7.0A\include\winerror.h(1797) : see previous definition
of 'WAIT_TIMEOUT'

It seems windows already have a define for WAIT_TIMEOUT. Do we want
to rename it to WAIT_TIMEEXPIRED or WAIT_EXPIRETIME?

--
With Regards,
Amit Kapila.
EnterpriseDB: http://www.enterprisedb.com

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2016-10-05 12:24:42 pgsql: Re-alphabetize #include directives.
Previous Message Robert Haas 2016-10-05 12:23:12 pgsql: Rename WAIT_* constants to PG_WAIT_*.

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2016-10-05 12:25:04 Re: Tracking wait event for latches
Previous Message Etsuro Fujita 2016-10-05 11:45:37 Re: postgres_fdw : altering foreign table not invalidating prepare statement execution plan.