Commit 97c85098 authored by Robert Haas's avatar Robert Haas

pgstattuple: Add new error case for spgist indexes.

Extracted from a larger patch by Jaime Casanova, reviewed by Noah Misch.
I think this error message could use some more extensive revision, but
this at least makes the handling of spgist consistent with what we do for
other types of indexes that this code doesn't know how to handle.
parent 717f6d60
...@@ -231,6 +231,9 @@ pgstat_relation(Relation rel, FunctionCallInfo fcinfo) ...@@ -231,6 +231,9 @@ pgstat_relation(Relation rel, FunctionCallInfo fcinfo)
case GIN_AM_OID: case GIN_AM_OID:
err = "gin index"; err = "gin index";
break; break;
case SPGIST_AM_OID:
err = "spgist index";
break;
default: default:
err = "unknown index"; err = "unknown index";
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment