Get rid of SET LOGGED indexes persistence kludge

Alvaro Herrera <alvherre@alvh.no-ip.org>

Commit: 85b506bbfc2937c9abdfcce4e01a8feca8e64ee8
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: 2014-11-15T04:19:49Z
Releases: 9.5.0
Get rid of SET LOGGED indexes persistence kludge

This removes ATChangeIndexesPersistence() introduced by f41872d0c1239d36
which was too ugly to live for long.  Instead, the correct persistence
marking is passed all the way down to reindex_index, so that the
transient relation built to contain the index relfilenode can
get marked correctly right from the start.

Author: Fabrízio de Royes Mello
Review and editorialization by Michael Paquier
                                     and Álvaro Herrera

Files