Simon Riggs wrote:
> On Sun, 2010-01-17 at 22:57 +0200, Heikki Linnakangas wrote:
>>> It would be good if there was a keepalive WAL record with a
>> timestamp on it generated every N seconds while in streaming mode.
>> Yeah, that would help. In streaming replication we could also send
>> such timestamp as a separate message, not within WAL.
> Is that something you're working on?
> Do we need a new record type for that, is there a handy record type to
> bounce from?
After starting streaming, slices of WAL are sent as CopyData messages.
The CopyData payload begins with an XLogRecPtr, followed by the WAL
data. That payload format needs to be extended with a 'message type'
field and a new message type for the timestamps need to be added.
In response to
pgsql-hackers by date
|Next:||From: Greg Stark||Date: 2010-01-18 08:37:03|
|Subject: Re: Bloom index|
|Previous:||From: Fujii Masao||Date: 2010-01-18 05:19:59|
|Subject: Streaming replication, and walsender during recovery|