diff options
author | Fujii Masao | 2015-07-14 13:36:51 +0000 |
---|---|---|
committer | Fujii Masao | 2015-07-14 13:36:51 +0000 |
commit | 705d397cd9cede1fd6fb1260d1689570bf6142d4 (patch) | |
tree | 65cac95767e55bcd0f47891e590faf0895bb3a4d | |
parent | 1a56498e5f6db949a066fb125199a7389a798421 (diff) |
Prevent pgstattuple() from reporting BRIN as unknown index.
Also this patch removes obsolete comment.
Back-patch to 9.5 where BRIN index was added.
-rw-r--r-- | contrib/pgstattuple/pgstattuple.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/pgstattuple/pgstattuple.c b/contrib/pgstattuple/pgstattuple.c index c3a8b1d424..4e221c3682 100644 --- a/contrib/pgstattuple/pgstattuple.c +++ b/contrib/pgstattuple/pgstattuple.c @@ -151,7 +151,6 @@ build_pgstattuple_type(pgstattuple_type *stat, FunctionCallInfo fcinfo) * * C FUNCTION definition * pgstattuple(text) returns pgstattuple_type - * see pgstattuple.sql for pgstattuple_type * ---------- */ @@ -234,6 +233,9 @@ pgstat_relation(Relation rel, FunctionCallInfo fcinfo) case SPGIST_AM_OID: err = "spgist index"; break; + case BRIN_AM_OID: + err = "brin index"; + break; default: err = "unknown index"; break; |