mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 09:13:20 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
		
			489 B
		
	
	
	
		
			SQL
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			489 B
		
	
	
	
		
			SQL
		
	
	
	
	
	
CREATE TABLE test1 (a int8, b text);
 | 
						|
INSERT INTO test1 VALUES (72057594037927937, 'text');
 | 
						|
CREATE INDEX test1_a_idx ON test1 USING btree (a);
 | 
						|
 | 
						|
\x
 | 
						|
 | 
						|
SELECT * FROM bt_metap('test1_a_idx');
 | 
						|
 | 
						|
SELECT * FROM bt_page_stats('test1_a_idx', 0);
 | 
						|
SELECT * FROM bt_page_stats('test1_a_idx', 1);
 | 
						|
SELECT * FROM bt_page_stats('test1_a_idx', 2);
 | 
						|
 | 
						|
SELECT * FROM bt_page_items('test1_a_idx', 0);
 | 
						|
SELECT * FROM bt_page_items('test1_a_idx', 1);
 | 
						|
SELECT * FROM bt_page_items('test1_a_idx', 2);
 | 
						|
 | 
						|
DROP TABLE test1;
 |