Re: WAL Info messages - Mailing list pgsql-hackers

From Tom Lane
Subject Re: WAL Info messages
Date
Msg-id 28182.1260736566@sss.pgh.pa.us
Whole thread Raw
In response to WAL Info messages  (Simon Riggs <simon@2ndQuadrant.com>)
List pgsql-hackers
Simon Riggs <simon@2ndQuadrant.com> writes:
> Proposal is to use up the last rmgr id, slot 7: RM_INFO_ID. 
> Functions would be provided on primary side to send a user-defined
> binary message into WAL stream, with a single message type
> XLOG_INFO_MSG. (Superuser only, though can be wrapped and given to
> trusted users).

Seems like a frammish that we could maybe worry about a few months from
now, after the core patch has settled down.

I also dislike reserving a whole RM_ID just for this.  If we are only
going to send one type of message it seems like it could be one infomask
type within an existing RM_ID.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: WAL Info messages
Next
From: Tom Lane
Date:
Subject: Re: Hot Standby, release candidate?