summaryrefslogtreecommitdiff
path: root/src/include/config.h.in
diff options
context:
space:
mode:
authorVadim B. Mikheev <vadim4o@yahoo.com>1999-05-25 18:31:28 +0000
committerVadim B. Mikheev <vadim4o@yahoo.com>1999-05-25 18:31:28 +0000
commit519cd36d062b1bba368fea11f8763eb7f024ca90 (patch)
tree2aee78724058bf47ec57876b9ab01e737622c6fc /src/include/config.h.in
parent7d443a85afad9b563fdc604cc4c3bb904af16be4 (diff)
downloadpostgresql-519cd36d062b1bba368fea11f8763eb7f024ca90.tar.gz
Get rid of page-level locking in btree-s.
BT_READ/BT_WRITE are BUFFER_LOCK_SHARE/BUFFER_LOCK_EXCLUSIVE now. Also get rid of #define BT_VERSION_1 - we use version 1 as default for near two years now.
Diffstat (limited to 'src/include/config.h.in')
-rw-r--r--src/include/config.h.in9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/include/config.h.in b/src/include/config.h.in
index ab45bd8489..f90501ed11 100644
--- a/src/include/config.h.in
+++ b/src/include/config.h.in
@@ -506,15 +506,6 @@ extern void srandom(unsigned int seed);
*/
#define FASTBUILD /* access/nbtree/nbtsort.c */
-/*
- * BTREE_VERSION_1: we must guarantee that all tuples in A LEVEL
- * are unique, not in ALL INDEX. So, we can use bti_itup->t_tid
- * as unique identifier for a given index tuple (logical position
- * within a level) and take off bti_oid & bti_dummy (8 bytes total)
- * from btree items.
- */
-#define BTREE_VERSION_1
-
/*
* TBL_FREE_CMD_MEMORY: free memory allocated for an user query inside
* transaction block after this query is done.