projects
/
postgresql
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a56498
)
Prevent pgstattuple() from reporting BRIN as unknown index.
author
Fujii Masao
<fujii@postgresql.org>
Tue, 14 Jul 2015 13:36:51 +0000
(22:36 +0900)
committer
Fujii Masao
<fujii@postgresql.org>
Tue, 14 Jul 2015 13:36:51 +0000
(22:36 +0900)
Also this patch removes obsolete comment.
Back-patch to 9.5 where BRIN index was added.
contrib/pgstattuple/pgstattuple.c
patch
|
blob
|
history
diff --git
a/contrib/pgstattuple/pgstattuple.c
b/contrib/pgstattuple/pgstattuple.c
index c3a8b1d424ab30073169b017d3816190b7516d2a..4e221c36826632d5863adee95267532d91a3a357 100644
(file)
--- 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;