aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistxlog.c
diff options
context:
space:
mode:
authorTeodor Sigaev <teodor@sigaev.ru>2006-05-10 09:19:54 +0000
committerTeodor Sigaev <teodor@sigaev.ru>2006-05-10 09:19:54 +0000
commit10dd8df68e6c826186b9900b703051b46ccd6b31 (patch)
tree3fc1063bedf9bb467c87ad204fd8b68805402404 /src/backend/access/gist/gistxlog.c
parent12049d343e1aba53b74c68d3f739707343a5e301 (diff)
downloadpostgresql-10dd8df68e6c826186b9900b703051b46ccd6b31.tar.gz
postgresql-10dd8df68e6c826186b9900b703051b46ccd6b31.zip
Reduce size of critical section and remove call of user-defined functions in
insertion and deletion, modify gistSplit() to do not use buffers. TODO: gistvacuumcleanup and XLOG
Diffstat (limited to 'src/backend/access/gist/gistxlog.c')
-rw-r--r--src/backend/access/gist/gistxlog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/access/gist/gistxlog.c b/src/backend/access/gist/gistxlog.c
index c74762b7df1..a029d8f1ec5 100644
--- a/src/backend/access/gist/gistxlog.c
+++ b/src/backend/access/gist/gistxlog.c
@@ -8,7 +8,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/access/gist/gistxlog.c,v 1.15 2006/04/03 16:45:50 tgl Exp $
+ * $PostgreSQL: pgsql/src/backend/access/gist/gistxlog.c,v 1.16 2006/05/10 09:19:54 teodor Exp $
*-------------------------------------------------------------------------
*/
#include "postgres.h"
@@ -625,7 +625,7 @@ gistContinueInsert(gistIncompleteInsert *insert)
}
}
- if (gistnospace(pages[numbuffer - 1], itup, lenitup))
+ if (gistnospace(pages[numbuffer - 1], itup, lenitup, InvalidOffsetNumber))
{
/* no space left on page, so we must split */
buffers[numbuffer] = ReadBuffer(index, P_NEW);