]> granicus.if.org Git - postgresql/commit
Get rid of SET LOGGED indexes persistence kludge
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Sat, 15 Nov 2014 04:19:49 +0000 (01:19 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Sat, 15 Nov 2014 04:19:49 +0000 (01:19 -0300)
commit85b506bbfc2937c9abdfcce4e01a8feca8e64ee8
tree6525cd42c9bd3dec7e2eadcedc0594e8c113c403
parente4d1e264918f4019c86c807e7c349658f7a10397
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
src/backend/catalog/index.c
src/backend/commands/cluster.c
src/backend/commands/indexcmds.c
src/backend/commands/matview.c
src/backend/commands/tablecmds.c
src/backend/utils/cache/relcache.c
src/include/catalog/index.h
src/include/commands/cluster.h