Skip to content

Commit 97c8509

Browse files
committed
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.
1 parent 717f6d6 commit 97c8509

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

contrib/pgstattuple/pgstattuple.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,9 @@ pgstat_relation(Relation rel, FunctionCallInfo fcinfo)
231231
case GIN_AM_OID:
232232
err = "gin index";
233233
break;
234+
case SPGIST_AM_OID:
235+
err = "spgist index";
236+
break;
234237
default:
235238
err = "unknown index";
236239
break;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy