diff options
author | Michael Paquier <michael@paquier.xyz> | 2019-07-02 11:36:53 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2019-07-02 11:36:53 +0900 |
commit | 9adda24543e354317abf5400d7e7d3961a93bce6 (patch) | |
tree | 963a41b1ab9abbf53c0a76336bbc4c27b8ee1cf9 /contrib/postgres_fdw/postgres_fdw.c | |
parent | c72f9b9502eadb6b84c6681cdb3bff12b35d3c8a (diff) | |
download | postgresql-9adda24543e354317abf5400d7e7d3961a93bce6.tar.gz postgresql-9adda24543e354317abf5400d7e7d3961a93bce6.zip |
Refactor code of reindexdb for query generation
This merges the portion related to REINDEX SYSTEM into the routine
already available for all the other reindex types, making the query
generation cleaner. While on it, change the handling of the reindex
types using an enum, which allows to get rid of the hardcoded strings
used directly in the query generation present for the same purpose (aka
"TABLE", "DATABASE", etc.).
Per discussion with Julien Rouhaud, Tom Lane, Alvaro Herrera and me.
Author: Julien Rouhaud
Discussion: https://postgr.es/m/CAOBaU_bSmSik_WRK9niDnm-3NkNZky6+uKxkmQwvthZvMWpS5A@mail.gmail.com
Diffstat (limited to 'contrib/postgres_fdw/postgres_fdw.c')
0 files changed, 0 insertions, 0 deletions