Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit705d397

Browse files
committed
Prevent pgstattuple() from reporting BRIN as unknown index.
Also this patch removes obsolete comment.Back-patch to 9.5 where BRIN index was added.
1 parent1a56498 commit705d397

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎contrib/pgstattuple/pgstattuple.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,6 @@ build_pgstattuple_type(pgstattuple_type *stat, FunctionCallInfo fcinfo)
151151
*
152152
* C FUNCTION definition
153153
* pgstattuple(text) returns pgstattuple_type
154-
* see pgstattuple.sql for pgstattuple_type
155154
* ----------
156155
*/
157156

@@ -234,6 +233,9 @@ pgstat_relation(Relation rel, FunctionCallInfo fcinfo)
234233
caseSPGIST_AM_OID:
235234
err="spgist index";
236235
break;
236+
caseBRIN_AM_OID:
237+
err="brin index";
238+
break;
237239
default:
238240
err="unknown index";
239241
break;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp