Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
bb10bf31
Commit
bb10bf31
authored
Nov 24, 1999
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename heap_replace to heap_update.
parent
6f9ff92c
Changes
15
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
44 additions
and
44 deletions
+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
No files found.
src/backend/access/heap/heapam.c
View file @
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
View file @
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
View file @
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
View file @
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
View file @
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
View file @
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
View file @
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
View file @
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
View file @
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
View file @
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
View file @
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
View file @
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
View file @
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
View file @
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
View file @
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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment