HaveNFreeProcs ?

From: Alvaro Herrera <alvherre(at)surnet(dot)cl>
To: Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: HaveNFreeProcs ?
Date: 2005-06-23 04:07:14
Message-ID: 20050623040713.GA7698@surnet.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hackers,

I just noticed the HaveNFreeProcs routine is coded as a loop around the
ProcGlobal struct members. I wonder if it's possible to use a simple
check in procArray->numBackends against procArray->maxBackends instead?

--
Alvaro Herrera (<alvherre[a]surnet.cl>)
Jason Tesser: You might not have understood me or I am not understanding you.
Paul Thomas: It feels like we're 2 people divided by a common language...

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Gavin Sherry 2005-06-23 04:11:58 Re: [PATCHES] O_DIRECT for WAL writes
Previous Message Tom Lane 2005-06-23 04:00:19 Re: [PATCHES] O_DIRECT for WAL writes