Re: [UPDATED] A GUC variable to replace PGBE_ACTIVITY_SIZE

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Heikki Linnakangas" <heikki(at)enterprisedb(dot)com>
Cc: "Thomas Lee" <tom(at)vector-seven(dot)com>, pgsql-patches(at)postgresql(dot)org
Subject: Re: [UPDATED] A GUC variable to replace PGBE_ACTIVITY_SIZE
Date: 2008-06-30 15:22:00
Message-ID: 28906.1214839320@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

"Heikki Linnakangas" <heikki(at)enterprisedb(dot)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

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2008-06-30 19:52:08 Re: [NOVICE] encoding problems
Previous Message Heikki Linnakangas 2008-06-30 10:59:28 Re: [UPDATED] A GUC variable to replace PGBE_ACTIVITY_SIZE