postgresql/src/backend/access
Robert Haas 097e41439d Fix broken error check in _hash_doinsert.
You can't just cast a HashMetaPage to a Page, because the meta page
data is stored after the page header, not at offset 0.  Fortunately,
this didn't break anything because it happens to find hashm_bsize
at the offset at which it expects to find pd_pagesize_version, and
the values are close enough to the same that this works out.

Still, it's a bug, so back-patch to all supported versions.

Mithun Cy, revised a bit by me.
2016-12-22 13:59:01 -05:00
..
brin Rewrite PageIndexDeleteNoCompact into a form that only deletes 1 tuple. 2016-09-09 19:00:59 -04:00
common Implement table partitioning. 2016-12-07 13:17:55 -05:00
gin Replace the built-in GIN array opclasses with a single polymorphic opclass. 2016-09-26 14:52:44 -04:00
gist Fix outdated comments, GIST search queue is not an RBTree anymore. 2016-09-20 11:38:25 +03:00
hash Fix broken error check in _hash_doinsert. 2016-12-22 13:59:01 -05:00
heap Fix WAL-logging of FSM and VM truncation. 2016-10-19 14:26:05 +03:00
index Add SQL-accessible functions for inspecting index AM properties. 2016-08-13 18:31:14 -04:00
nbtree Remove should_free arguments to tuplesort routines. 2016-12-12 15:57:35 -05:00
rmgrdesc Fix incorrect output from gin_desc(). 2016-12-05 20:29:41 +09:00
spgist Log the creation of an init fork unconditionally. 2016-12-08 14:12:08 -05:00
tablesample Update copyright for 2016 2016-01-02 13:33:40 -05:00
transam Simplify LWLock tranche machinery by removing array_base/array_stride. 2016-12-16 11:29:23 -05:00
Makefile TABLESAMPLE, SQL Standard and extensible 2015-05-15 14:37:10 -04:00