mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-11 03:13:15 +02:00
15 lines
422 B
SQL
15 lines
422 B
SQL
CREATE TABLE test1 (x int, y int[]);
|
|
INSERT INTO test1 VALUES (1, ARRAY[11, 111]);
|
|
CREATE INDEX test1_y_idx ON test1 USING gin (y);
|
|
|
|
\x
|
|
|
|
SELECT * FROM gin_metapage_info(get_raw_page('test1_y_idx', 0));
|
|
SELECT * FROM gin_metapage_info(get_raw_page('test1_y_idx', 1));
|
|
|
|
SELECT * FROM gin_page_opaque_info(get_raw_page('test1_y_idx', 1));
|
|
|
|
SELECT * FROM gin_leafpage_items(get_raw_page('test1_y_idx', 1));
|
|
|
|
DROP TABLE test1;
|