diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2013-11-13 13:44:46 +0200 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2013-11-13 13:47:59 +0200 |
commit | 07fca603b56e39c50478b44070fdfb38313cd51c (patch) | |
tree | 5a23d03a3d9b15f4397dfeaae53591a330a30651 /src/tutorial/funcs_new.c | |
parent | aa04b323c36931f96159ab1fd6f74f8401ab4c92 (diff) | |
download | postgresql-07fca603b56e39c50478b44070fdfb38313cd51c.tar.gz postgresql-07fca603b56e39c50478b44070fdfb38313cd51c.zip |
Fix bug in GIN posting tree root creation.
The root page is filled with as many items as fit, and the rest are inserted
using normal insertions. However, I fumbled the variable names, and the code
actually memcpy'd all the items on the page, overflowing the buffer. While
at it, rename the variable to make the distinction more clear.
Reported by Teodor Sigaev. This bug was introduced by my recent
refactorings, so no backpatching required.
Diffstat (limited to 'src/tutorial/funcs_new.c')
0 files changed, 0 insertions, 0 deletions