Re: switch UNLOGGED to LOGGED - Mailing list pgsql-hackers

From Leonardo Francalanci
Subject Re: switch UNLOGGED to LOGGED
Date
Msg-id 263036.71387.qm@web29018.mail.ird.yahoo.com
Whole thread Raw
In response to Re: switch UNLOGGED to LOGGED  (Leonardo Francalanci <m_lists@yahoo.it>)
List pgsql-hackers
> - 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...


pgsql-hackers by date:

Previous
From: Leonardo Francalanci
Date:
Subject: Re: switch UNLOGGED to LOGGED
Next
From: Tom Lane
Date:
Subject: Re: asterisk (non)expansion in GROUP BY clause