mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-09 08:10:09 +08:00
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.
This commit is contained in:
parent
717f6d6085
commit
97c85098de
@ -231,6 +231,9 @@ pgstat_relation(Relation rel, FunctionCallInfo fcinfo)
|
||||
case GIN_AM_OID:
|
||||
err = "gin index";
|
||||
break;
|
||||
case SPGIST_AM_OID:
|
||||
err = "spgist index";
|
||||
break;
|
||||
default:
|
||||
err = "unknown index";
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user