Re: [UPDATED] A GUC variable to replace PGBE_ACTIVITY_SIZE - Mailing list pgsql-patches

From Tom Lane
Subject Re: [UPDATED] A GUC variable to replace PGBE_ACTIVITY_SIZE
Date
Msg-id 28906.1214839320@sss.pgh.pa.us
Whole thread Raw
In response to Re: [UPDATED] A GUC variable to replace PGBE_ACTIVITY_SIZE  ("Heikki Linnakangas" <heikki@enterprisedb.com>)
Responses Re: [UPDATED] A GUC variable to replace PGBE_ACTIVITY_SIZE
List pgsql-patches
"Heikki Linnakangas" <heikki@enterprisedb.com> writes:
> Another simple optimization occurred to me while looking at this: we
> should skip the memcpy/strcpy altogether if the BackendActivity slot is
> not in use. That seems like a good bet, you usually don't try to max out
> max_connections.

Huh?  How could we be assigning to a slot that is not in use?

            regards, tom lane

pgsql-patches by date:

Previous
From: "Heikki Linnakangas"
Date:
Subject: Re: [UPDATED] A GUC variable to replace PGBE_ACTIVITY_SIZE
Next
From: Bruce Momjian
Date:
Subject: Re: [NOVICE] encoding problems