Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
bb10bf31
G
Gpdb
项目概览
Greenplum
/
Gpdb
通知
7
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
Gpdb
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
bb10bf31
编写于
11月 24, 1999
作者:
B
Bruce Momjian
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Rename heap_replace to heap_update.
上级
6f9ff92c
变更
15
隐藏空白更改
内联
并排
Showing
15 changed file
with
44 addition
and
44 deletion
+44
-44
src/backend/access/heap/heapam.c
src/backend/access/heap/heapam.c
+5
-5
src/backend/catalog/aclchk.c
src/backend/catalog/aclchk.c
+3
-3
src/backend/catalog/heap.c
src/backend/catalog/heap.c
+3
-3
src/backend/catalog/index.c
src/backend/catalog/index.c
+3
-3
src/backend/catalog/pg_operator.c
src/backend/catalog/pg_operator.c
+5
-5
src/backend/catalog/pg_type.c
src/backend/catalog/pg_type.c
+3
-3
src/backend/commands/async.c
src/backend/commands/async.c
+3
-3
src/backend/commands/command.c
src/backend/commands/command.c
+2
-2
src/backend/commands/comment.c
src/backend/commands/comment.c
+2
-2
src/backend/commands/rename.c
src/backend/commands/rename.c
+3
-3
src/backend/commands/trigger.c
src/backend/commands/trigger.c
+2
-2
src/backend/executor/execMain.c
src/backend/executor/execMain.c
+4
-4
src/backend/rewrite/rewriteSupport.c
src/backend/rewrite/rewriteSupport.c
+2
-2
src/backend/utils/adt/sets.c
src/backend/utils/adt/sets.c
+2
-2
src/include/access/heapam.h
src/include/access/heapam.h
+2
-2
未找到文件。
src/backend/access/heap/heapam.c
浏览文件 @
bb10bf31
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/heap/heapam.c,v 1.
59 1999/11/23 20:06:47
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/access/heap/heapam.c,v 1.
60 1999/11/24 00:44:28
momjian Exp $
*
*
* INTERFACE ROUTINES
...
...
@@ -22,7 +22,7 @@
* heap_fetch - retrive tuple with tid
* heap_insert - insert tuple into a relation
* heap_delete - delete a tuple from a relation
* heap_
replac
e - replace a tuple in a relation with another tuple
* heap_
updat
e - replace a tuple in a relation with another tuple
* heap_markpos - mark scan position
* heap_restrpos - restore position to marked location
*
...
...
@@ -1339,10 +1339,10 @@ l1:
}
/*
* heap_
replac
e - replace a tuple
* heap_
updat
e - replace a tuple
*/
int
heap_
replac
e
(
Relation
relation
,
ItemPointer
otid
,
HeapTuple
newtup
,
heap_
updat
e
(
Relation
relation
,
ItemPointer
otid
,
HeapTuple
newtup
,
ItemPointer
ctid
)
{
ItemId
lp
;
...
...
@@ -1376,7 +1376,7 @@ l2:
{
LockBuffer
(
buffer
,
BUFFER_LOCK_UNLOCK
);
ReleaseBuffer
(
buffer
);
elog
(
ERROR
,
"heap_
replac
e: (am)invalid tid"
);
elog
(
ERROR
,
"heap_
updat
e: (am)invalid tid"
);
}
else
if
(
result
==
HeapTupleBeingUpdated
)
{
...
...
src/backend/catalog/aclchk.c
浏览文件 @
bb10bf31
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/catalog/aclchk.c,v 1.3
0 1999/11/22 17:55:56
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/catalog/aclchk.c,v 1.3
1 1999/11/24 00:44:28
momjian Exp $
*
* NOTES
* See acl.h.
...
...
@@ -102,7 +102,7 @@ ChangeAcl(char *relname,
* Find the pg_class tuple matching 'relname' and extract the ACL. If
* there's no ACL, create a default using the pg_class.relowner field.
*
* We can't use the syscache here, since we need to do a heap_
replac
e on
* We can't use the syscache here, since we need to do a heap_
updat
e on
* the tuple we find.
*/
relation
=
heap_openr
(
RelationRelationName
,
RowExclusiveLock
);
...
...
@@ -151,7 +151,7 @@ ChangeAcl(char *relname,
tuple
=
heap_modifytuple
(
tuple
,
relation
,
values
,
nulls
,
replaces
);
/* XXX handle index on pg_class? */
setheapoverride
(
true
);
heap_
replac
e
(
relation
,
&
tuple
->
t_self
,
tuple
,
NULL
);
heap_
updat
e
(
relation
,
&
tuple
->
t_self
,
tuple
,
NULL
);
setheapoverride
(
false
);
/* keep the catalog indices up to date */
...
...
src/backend/catalog/heap.c
浏览文件 @
bb10bf31
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/catalog/heap.c,v 1.1
09 1999/11/22 17:55:57
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/catalog/heap.c,v 1.1
10 1999/11/24 00:44:29
momjian Exp $
*
*
* INTERFACE ROUTINES
...
...
@@ -1763,7 +1763,7 @@ StoreAttrDefault(Relation rel, AttrNumber attnum, char *adbin,
if
(
!
attStruct
->
atthasdef
)
{
attStruct
->
atthasdef
=
true
;
heap_
replac
e
(
attrrel
,
&
atttup
->
t_self
,
atttup
,
NULL
);
heap_
updat
e
(
attrrel
,
&
atttup
->
t_self
,
atttup
,
NULL
);
/* keep catalog indices current */
CatalogOpenIndices
(
Num_pg_attr_indices
,
Name_pg_attr_indices
,
attridescs
);
...
...
@@ -2085,7 +2085,7 @@ AddRelationRawConstraints(Relation rel,
relStruct
->
relchecks
=
numchecks
;
heap_
replac
e
(
relrel
,
&
reltup
->
t_self
,
reltup
,
NULL
);
heap_
updat
e
(
relrel
,
&
reltup
->
t_self
,
reltup
,
NULL
);
/* keep catalog indices current */
CatalogOpenIndices
(
Num_pg_class_indices
,
Name_pg_class_indices
,
...
...
src/backend/catalog/index.c
浏览文件 @
bb10bf31
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/catalog/index.c,v 1.9
7 1999/11/22 17:55:57
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/catalog/index.c,v 1.9
8 1999/11/24 00:44:29
momjian Exp $
*
*
* INTERFACE ROUTINES
...
...
@@ -839,7 +839,7 @@ UpdateIndexPredicate(Oid indexoid, Node *oldPred, Node *predicate)
newtup
=
heap_modifytuple
(
tuple
,
pg_index
,
values
,
nulls
,
replace
);
heap_
replac
e
(
pg_index
,
&
newtup
->
t_self
,
newtup
,
NULL
);
heap_
updat
e
(
pg_index
,
&
newtup
->
t_self
,
newtup
,
NULL
);
pfree
(
newtup
);
heap_close
(
pg_index
,
RowExclusiveLock
);
...
...
@@ -1429,7 +1429,7 @@ UpdateStats(Oid relid, long reltuples, bool hasindex)
values
[
Anum_pg_class_relhasindex
-
1
]
=
CharGetDatum
(
hasindex
);
newtup
=
heap_modifytuple
(
tuple
,
pg_class
,
values
,
nulls
,
replace
);
heap_
replac
e
(
pg_class
,
&
tuple
->
t_self
,
newtup
,
NULL
);
heap_
updat
e
(
pg_class
,
&
tuple
->
t_self
,
newtup
,
NULL
);
CatalogOpenIndices
(
Num_pg_class_indices
,
Name_pg_class_indices
,
idescs
);
CatalogIndexInsert
(
idescs
,
Num_pg_class_indices
,
pg_class
,
newtup
);
CatalogCloseIndices
(
Num_pg_class_indices
,
idescs
);
...
...
src/backend/catalog/pg_operator.c
浏览文件 @
bb10bf31
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/catalog/pg_operator.c,v 1.4
3 1999/11/22 17:55:58
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/catalog/pg_operator.c,v 1.4
4 1999/11/24 00:44:29
momjian Exp $
*
* NOTES
* these routines moved here from commands/define.c and somewhat cleaned up.
...
...
@@ -791,7 +791,7 @@ OperatorDef(char *operatorName,
replaces
);
setheapoverride
(
true
);
heap_
replac
e
(
pg_operator_desc
,
&
tup
->
t_self
,
tup
,
NULL
);
heap_
updat
e
(
pg_operator_desc
,
&
tup
->
t_self
,
tup
,
NULL
);
setheapoverride
(
false
);
}
else
...
...
@@ -921,7 +921,7 @@ OperatorUpd(Oid baseId, Oid commId, Oid negId)
replaces
);
setheapoverride
(
true
);
heap_
replac
e
(
pg_operator_desc
,
&
tup
->
t_self
,
tup
,
NULL
);
heap_
updat
e
(
pg_operator_desc
,
&
tup
->
t_self
,
tup
,
NULL
);
setheapoverride
(
false
);
if
(
RelationGetForm
(
pg_operator_desc
)
->
relhasindex
)
...
...
@@ -955,7 +955,7 @@ OperatorUpd(Oid baseId, Oid commId, Oid negId)
replaces
);
setheapoverride
(
true
);
heap_
replac
e
(
pg_operator_desc
,
&
tup
->
t_self
,
tup
,
NULL
);
heap_
updat
e
(
pg_operator_desc
,
&
tup
->
t_self
,
tup
,
NULL
);
setheapoverride
(
false
);
if
(
RelationGetForm
(
pg_operator_desc
)
->
relhasindex
)
...
...
@@ -995,7 +995,7 @@ OperatorUpd(Oid baseId, Oid commId, Oid negId)
replaces
);
setheapoverride
(
true
);
heap_
replac
e
(
pg_operator_desc
,
&
tup
->
t_self
,
tup
,
NULL
);
heap_
updat
e
(
pg_operator_desc
,
&
tup
->
t_self
,
tup
,
NULL
);
setheapoverride
(
false
);
if
(
RelationGetForm
(
pg_operator_desc
)
->
relhasindex
)
...
...
src/backend/catalog/pg_type.c
浏览文件 @
bb10bf31
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/catalog/pg_type.c,v 1.4
2 1999/11/22 17:55:58
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/catalog/pg_type.c,v 1.4
3 1999/11/24 00:44:29
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -482,7 +482,7 @@ TypeCreate(char *typeName,
replaces
);
setheapoverride
(
true
);
heap_
replac
e
(
pg_type_desc
,
&
tup
->
t_self
,
tup
,
NULL
);
heap_
updat
e
(
pg_type_desc
,
&
tup
->
t_self
,
tup
,
NULL
);
setheapoverride
(
false
);
typeObjectId
=
tup
->
t_data
->
t_oid
;
...
...
@@ -559,7 +559,7 @@ TypeRename(char *oldTypeName, char *newTypeName)
namestrcpy
(
&
(((
Form_pg_type
)
GETSTRUCT
(
oldtup
))
->
typname
),
newTypeName
);
setheapoverride
(
true
);
heap_
replac
e
(
pg_type_desc
,
&
oldtup
->
t_self
,
oldtup
,
NULL
);
heap_
updat
e
(
pg_type_desc
,
&
oldtup
->
t_self
,
oldtup
,
NULL
);
setheapoverride
(
false
);
/* update the system catalog indices */
...
...
src/backend/commands/async.c
浏览文件 @
bb10bf31
...
...
@@ -6,7 +6,7 @@
* Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/async.c,v 1.5
5 1999/11/22 17:55:5
9 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/commands/async.c,v 1.5
6 1999/11/24 00:44:2
9 momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -509,7 +509,7 @@ AtCommit_Notify()
{
rTuple
=
heap_modifytuple
(
lTuple
,
lRel
,
value
,
nulls
,
repl
);
heap_
replac
e
(
lRel
,
&
lTuple
->
t_self
,
rTuple
,
NULL
);
heap_
updat
e
(
lRel
,
&
lTuple
->
t_self
,
rTuple
,
NULL
);
if
(
RelationGetForm
(
lRel
)
->
relhasindex
)
{
Relation
idescs
[
Num_pg_listener_indices
];
...
...
@@ -775,7 +775,7 @@ ProcessIncomingNotify(void)
NotifyMyFrontEnd
(
relname
,
sourcePID
);
/* Rewrite the tuple with 0 in notification column */
rTuple
=
heap_modifytuple
(
lTuple
,
lRel
,
value
,
nulls
,
repl
);
heap_
replac
e
(
lRel
,
&
lTuple
->
t_self
,
rTuple
,
NULL
);
heap_
updat
e
(
lRel
,
&
lTuple
->
t_self
,
rTuple
,
NULL
);
if
(
RelationGetForm
(
lRel
)
->
relhasindex
)
{
Relation
idescs
[
Num_pg_listener_indices
];
...
...
src/backend/commands/command.c
浏览文件 @
bb10bf31
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/command.c,v 1.5
7 1999/11/22 17:56:0
0 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/command.c,v 1.5
8 1999/11/24 00:44:3
0 momjian Exp $
*
* NOTES
* The PortalExecutorHeapMemory crap needs to be eliminated
...
...
@@ -474,7 +474,7 @@ PerformAddAttribute(char *relationName,
heap_close
(
attrdesc
,
RowExclusiveLock
);
((
Form_pg_class
)
GETSTRUCT
(
reltup
))
->
relnatts
=
maxatts
;
heap_
replac
e
(
rel
,
&
reltup
->
t_self
,
reltup
,
NULL
);
heap_
updat
e
(
rel
,
&
reltup
->
t_self
,
reltup
,
NULL
);
/* keep catalog indices current */
CatalogOpenIndices
(
Num_pg_class_indices
,
Name_pg_class_indices
,
ridescs
);
...
...
src/backend/commands/comment.c
浏览文件 @
bb10bf31
...
...
@@ -157,7 +157,7 @@ void CreateComments(Oid oid, char *comment) {
if
(
HeapTupleIsValid
(
searchtuple
))
{
/*** If the comment is blank, call heap_delete, else heap_
replac
e ***/
/*** If the comment is blank, call heap_delete, else heap_
updat
e ***/
if
((
comment
==
NULL
)
||
(
strlen
(
comment
)
==
0
))
{
heap_delete
(
description
,
&
searchtuple
->
t_self
,
NULL
);
...
...
@@ -165,7 +165,7 @@ void CreateComments(Oid oid, char *comment) {
desctuple
=
heap_modifytuple
(
searchtuple
,
description
,
values
,
nulls
,
replaces
);
setheapoverride
(
true
);
heap_
replac
e
(
description
,
&
searchtuple
->
t_self
,
desctuple
,
NULL
);
heap_
updat
e
(
description
,
&
searchtuple
->
t_self
,
desctuple
,
NULL
);
setheapoverride
(
false
);
modified
=
TRUE
;
}
...
...
src/backend/commands/rename.c
浏览文件 @
bb10bf31
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/rename.c,v 1.3
5 1999/11/07 23:08:02
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/rename.c,v 1.3
6 1999/11/24 00:44:30
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -156,7 +156,7 @@ renameatt(char *relname,
StrNCpy
(
NameStr
(((
Form_pg_attribute
)
GETSTRUCT
(
oldatttup
))
->
attname
),
newattname
,
NAMEDATALEN
);
heap_
replac
e
(
attrelation
,
&
oldatttup
->
t_self
,
oldatttup
,
NULL
);
heap_
updat
e
(
attrelation
,
&
oldatttup
->
t_self
,
oldatttup
,
NULL
);
/* keep system catalog indices current */
CatalogOpenIndices
(
Num_pg_attr_indices
,
Name_pg_attr_indices
,
irelations
);
...
...
@@ -291,7 +291,7 @@ renamerel(char *oldrelname, char *newrelname)
StrNCpy
(
NameStr
(((
Form_pg_class
)
GETSTRUCT
(
oldreltup
))
->
relname
),
newrelname
,
NAMEDATALEN
);
heap_
replac
e
(
relrelation
,
&
oldreltup
->
t_self
,
oldreltup
,
NULL
);
heap_
updat
e
(
relrelation
,
&
oldreltup
->
t_self
,
oldreltup
,
NULL
);
/* keep the system catalog indices current */
CatalogOpenIndices
(
Num_pg_class_indices
,
Name_pg_class_indices
,
irelations
);
...
...
src/backend/commands/trigger.c
浏览文件 @
bb10bf31
...
...
@@ -250,7 +250,7 @@ CreateTrigger(CreateTrigStmt *stmt)
((
Form_pg_class
)
GETSTRUCT
(
tuple
))
->
reltriggers
=
found
+
1
;
RelationInvalidateHeapTuple
(
pgrel
,
tuple
);
heap_
replac
e
(
pgrel
,
&
tuple
->
t_self
,
tuple
,
NULL
);
heap_
updat
e
(
pgrel
,
&
tuple
->
t_self
,
tuple
,
NULL
);
CatalogOpenIndices
(
Num_pg_class_indices
,
Name_pg_class_indices
,
ridescs
);
CatalogIndexInsert
(
ridescs
,
Num_pg_class_indices
,
pgrel
,
tuple
);
CatalogCloseIndices
(
Num_pg_class_indices
,
ridescs
);
...
...
@@ -329,7 +329,7 @@ DropTrigger(DropTrigStmt *stmt)
((
Form_pg_class
)
GETSTRUCT
(
tuple
))
->
reltriggers
=
found
;
RelationInvalidateHeapTuple
(
pgrel
,
tuple
);
heap_
replac
e
(
pgrel
,
&
tuple
->
t_self
,
tuple
,
NULL
);
heap_
updat
e
(
pgrel
,
&
tuple
->
t_self
,
tuple
,
NULL
);
CatalogOpenIndices
(
Num_pg_class_indices
,
Name_pg_class_indices
,
ridescs
);
CatalogIndexInsert
(
ridescs
,
Num_pg_class_indices
,
pgrel
,
tuple
);
CatalogCloseIndices
(
Num_pg_class_indices
,
ridescs
);
...
...
src/backend/executor/execMain.c
浏览文件 @
bb10bf31
...
...
@@ -26,7 +26,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/executor/execMain.c,v 1.10
0 1999/11/07 23:08:05
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/executor/execMain.c,v 1.10
1 1999/11/24 00:44:31
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -1350,7 +1350,7 @@ ExecReplace(TupleTableSlot *slot,
* replace the heap tuple
*/
lreplace:
;
result
=
heap_
replac
e
(
resultRelationDesc
,
tupleid
,
tuple
,
&
ctid
);
result
=
heap_
updat
e
(
resultRelationDesc
,
tupleid
,
tuple
,
&
ctid
);
switch
(
result
)
{
case
HeapTupleSelfUpdated
:
...
...
@@ -1378,7 +1378,7 @@ lreplace:;
return
;
default:
elog
(
ERROR
,
"Unknown status %u from heap_
replac
e"
,
result
);
elog
(
ERROR
,
"Unknown status %u from heap_
updat
e"
,
result
);
return
;
}
...
...
@@ -1396,7 +1396,7 @@ lreplace:;
/*
* process indices
*
* heap_
replac
e updates a tuple in the base relation by invalidating it
* heap_
updat
e updates a tuple in the base relation by invalidating it
* and then appending a new tuple to the relation. As a side effect,
* the tupleid of the new tuple is placed in the new tuple's t_ctid
* field. So we now insert index tuples using the new tupleid stored
...
...
src/backend/rewrite/rewriteSupport.c
浏览文件 @
bb10bf31
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/rewrite/rewriteSupport.c,v 1.3
8 1999/11/22 17:56:23
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/rewrite/rewriteSupport.c,v 1.3
9 1999/11/24 00:44:34
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -106,7 +106,7 @@ setRelhasrulesInRelation(Oid relationId, bool relhasrules)
Assert
(
HeapTupleIsValid
(
tuple
));
((
Form_pg_class
)
GETSTRUCT
(
tuple
))
->
relhasrules
=
relhasrules
;
heap_
replac
e
(
relationRelation
,
&
tuple
->
t_self
,
tuple
,
NULL
);
heap_
updat
e
(
relationRelation
,
&
tuple
->
t_self
,
tuple
,
NULL
);
/* keep the catalog indices up to date */
CatalogOpenIndices
(
Num_pg_class_indices
,
Name_pg_class_indices
,
idescs
);
...
...
src/backend/utils/adt/sets.c
浏览文件 @
bb10bf31
...
...
@@ -9,7 +9,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/Attic/sets.c,v 1.2
7 1999/11/22 17:56:30
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/Attic/sets.c,v 1.2
8 1999/11/24 00:44:35
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -114,7 +114,7 @@ SetDefine(char *querystr, char *typename)
repl
);
setheapoverride
(
true
);
heap_
replac
e
(
procrel
,
&
tup
->
t_self
,
newtup
,
NULL
);
heap_
updat
e
(
procrel
,
&
tup
->
t_self
,
newtup
,
NULL
);
setheapoverride
(
false
);
setoid
=
newtup
->
t_data
->
t_oid
;
...
...
src/include/access/heapam.h
浏览文件 @
bb10bf31
...
...
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: heapam.h,v 1.4
7 1999/10/11 06:28:29 inoue
Exp $
* $Id: heapam.h,v 1.4
8 1999/11/24 00:44:37 momjian
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -259,7 +259,7 @@ extern void heap_fetch(Relation relation, Snapshot snapshot, HeapTuple tup, Buff
extern
ItemPointer
heap_get_latest_tid
(
Relation
relation
,
Snapshot
snapshot
,
ItemPointer
tid
);
extern
Oid
heap_insert
(
Relation
relation
,
HeapTuple
tup
);
extern
int
heap_delete
(
Relation
relation
,
ItemPointer
tid
,
ItemPointer
ctid
);
extern
int
heap_
replac
e
(
Relation
relation
,
ItemPointer
otid
,
HeapTuple
tup
,
extern
int
heap_
updat
e
(
Relation
relation
,
ItemPointer
otid
,
HeapTuple
tup
,
ItemPointer
ctid
);
extern
int
heap_mark4update
(
Relation
relation
,
HeapTuple
tup
,
Buffer
*
userbuf
);
extern
void
heap_markpos
(
HeapScanDesc
scan
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录