HaveNFreeProcs ? - Mailing list pgsql-hackers

From Alvaro Herrera
Subject HaveNFreeProcs ?
Date
Msg-id 20050623040713.GA7698@surnet.cl
Whole thread Raw
Responses Re: HaveNFreeProcs ?
List 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...


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [PATCHES] O_DIRECT for WAL writes
Next
From: Gavin Sherry
Date:
Subject: Re: [PATCHES] O_DIRECT for WAL writes