> - the patch is missing the "send all table pages to  the
> standby" part; is there some code I can use as base?
> I guess I have to  generate some special log type that
> is only "played" by standby  servers.


Maybe I could use log_newpage, but instead of
XLOG_HEAP_NEWPAGE I could use something like
XLOG_HEAP_COPYPAGE; and in heap_redo, in the 
XLOG_HEAP_COPYPAGE case, call heap_xlog_newpage
only in case we're in standby...

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to