Andres Freund <and...@2ndquadrant.com> writes: > One argument in that direction imo is HS. We certainly would just > generally ignore unlogged indexes for querying while InRecovery, right? > Because otherwise HS would become pretty useless. And I think it'd be > pretty wierd if things worked on HS and not on the primary (or the HS > after promotion).
I don't see how HS has anything to do with this discussion. We would certainly have the index marked as unlogged in the catalogs, and we would therefore not use it while InRecovery. Once you promote a slave to live, it would be in the same state as a post-crash-recovery master. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers