Re: Latest version of Hot Standby patch

Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>

From: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
To: Simon Riggs <simon@2ndQuadrant.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2008-12-19T08:59:31Z
Lists: pgsql-hackers
Simon Riggs wrote:
> * corner case behaviour of backendids - bgwriter writes checkpoint WAL
> records. Has no backendid, but needs a slotid (possibly others)

Why does bgwriter need a slotid? It doesn't run any transactions.

> * slotids are assigned once and never changed, so allowing them to be
> used as array lookups directly

So are backend ids.

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