3 -- grep 843938989 hash.data
6 SELECT * FROM hash_i4_heap
7 WHERE hash_i4_heap.random = 843938989;
11 -- grep 66766766 hash.data
13 SELECT * FROM hash_i4_heap
14 WHERE hash_i4_heap.random = 66766766;
18 -- grep 1505703298 hash.data
20 SELECT * FROM hash_name_heap
21 WHERE hash_name_heap.random = '1505703298'::name;
25 -- grep 7777777 hash.data
27 SELECT * FROM hash_name_heap
28 WHERE hash_name_heap.random = '7777777'::name;
32 -- grep 1351610853 hash.data
34 SELECT * FROM hash_txt_heap
35 WHERE hash_txt_heap.random = '1351610853'::text;
39 -- grep 111111112222222233333333 hash.data
41 SELECT * FROM hash_txt_heap
42 WHERE hash_txt_heap.random = '111111112222222233333333'::text;
46 -- grep 444705537 hash.data
48 SELECT * FROM hash_f8_heap
49 WHERE hash_f8_heap.random = '444705537'::float8;
53 -- grep 88888888 hash.data
55 SELECT * FROM hash_f8_heap
56 WHERE hash_f8_heap.random = '88888888'::float8;
60 -- grep '^90[^0-9]' hashovfl.data
62 -- SELECT count(*) AS i988 FROM hash_ovfl_heap
67 -- grep '^1000[^0-9]' hashovfl.data
69 -- SELECT count(*) AS i0 FROM hash_ovfl_heap
77 WHERE hash_i4_heap.seqno = 1492;
79 SELECT h.seqno AS i1492, h.random AS i1
85 WHERE hash_i4_heap.random = 1492795354;
87 SELECT h.seqno AS i20000
89 WHERE h.random = 1492795354;
92 SET random = '0123456789abcdef'::name
93 WHERE hash_name_heap.seqno = 6543;
95 SELECT h.seqno AS i6543, h.random AS c0_to_f
97 WHERE h.random = '0123456789abcdef'::name;
101 WHERE hash_name_heap.random = '76652222'::name;
104 -- this is the row we just replaced; index scan should return zero rows
106 SELECT h.seqno AS emptyset
107 FROM hash_name_heap h
108 WHERE h.random = '76652222'::name;
111 SET random = '0123456789abcdefghijklmnop'::text
112 WHERE hash_txt_heap.seqno = 4002;
114 SELECT h.seqno AS i4002, h.random AS c0_to_p
116 WHERE h.random = '0123456789abcdefghijklmnop'::text;
120 WHERE hash_txt_heap.random = '959363399'::text;
122 SELECT h.seqno AS t20000
124 WHERE h.random = '959363399'::text;
127 SET random = '-1234.1234'::float8
128 WHERE hash_f8_heap.seqno = 8906;
130 SELECT h.seqno AS i8096, h.random AS f1234_1234
132 WHERE h.random = '-1234.1234'::float8;
136 WHERE hash_f8_heap.random = '488912369'::float8;
138 SELECT h.seqno AS f20000
140 WHERE h.random = '488912369'::float8;
142 -- UPDATE hash_ovfl_heap
146 -- this vacuums the index as well
147 -- VACUUM hash_ovfl_heap;
149 -- SELECT count(*) AS i0 FROM hash_ovfl_heap
152 -- SELECT count(*) AS i988 FROM hash_ovfl_heap