Re: Use of global and static variables in shared libraries - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: Use of global and static variables in shared libraries
Date
Msg-id 46EAF944.2010602@enterprisedb.com
Whole thread Raw
In response to Re: Use of global and static variables in shared libraries  ("Don Walker" <don.walker@versaterm.com>)
List pgsql-hackers
Don Walker wrote:
> Q2 b) You seem to imply that, since the backend doesn't use threads,
> simultaneous single evaluations of my aggregate by different
> users/connections would not be a problem for the static or global variables.
> If 200 users want to evaluate my aggregate at the same time how does the
> backend service them?

They will all use a different backend process. Each backend serves one
connection.

--  Heikki Linnakangas EnterpriseDB   http://www.enterprisedb.com


pgsql-hackers by date:

Previous
From: Hannes Eder
Date:
Subject: Re: MSVC build system
Next
From: August Zajonc
Date:
Subject: Re: 8.3 Open Items