mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
Add pgstatginindex() function to get the size of the GIN pending list.
Fujii Masao, reviewed by Kyotaro Horiguchi.
This commit is contained in:
@ -6,7 +6,7 @@ CREATE EXTENSION pgstattuple;
|
||||
-- indexes should be that.
|
||||
--
|
||||
|
||||
create table test (a int primary key);
|
||||
create table test (a int primary key, b int[]);
|
||||
|
||||
select * from pgstattuple('test'::text);
|
||||
select * from pgstattuple('test'::regclass);
|
||||
@ -15,3 +15,7 @@ select * from pgstatindex('test_pkey');
|
||||
|
||||
select pg_relpages('test');
|
||||
select pg_relpages('test_pkey');
|
||||
|
||||
create index test_ginidx on test using gin (b);
|
||||
|
||||
select * from pgstatginindex('test_ginidx');
|
||||
|
Reference in New Issue
Block a user