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
fce7556d
Commit
fce7556d
authored
Jun 16, 1998
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change error message and remove non-functional update message, from
Vadim.
parent
a0f95ace
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
src/backend/access/heap/heapam.c
src/backend/access/heap/heapam.c
+5
-2
src/backend/tcop/utility.c
src/backend/tcop/utility.c
+2
-2
No files found.
src/backend/access/heap/heapam.c
View file @
fce7556d
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/heap/heapam.c,v 1.2
8 1998/06/15 19:27:51
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/access/heap/heapam.c,v 1.2
9 1998/06/16 02:53:25
momjian Exp $
*
*
*
*
* INTERFACE ROUTINES
* INTERFACE ROUTINES
...
@@ -1202,7 +1202,10 @@ heap_delete(Relation relation, ItemPointer tid)
...
@@ -1202,7 +1202,10 @@ heap_delete(Relation relation, ItemPointer tid)
Assert
(
HeapTupleIsValid
(
tp
));
Assert
(
HeapTupleIsValid
(
tp
));
if
(
TupleUpdatedByCurXactAndCmd
(
tp
))
if
(
TupleUpdatedByCurXactAndCmd
(
tp
))
{
{
elog
(
NOTICE
,
"Non-functional delete, tuple already deleted"
);
/*
Vadim says this is no longer needed 1998/6/15
elog(NOTICE, "Non-functional delete, tuple already deleted");
*/
if
(
IsSystemRelationName
(
RelationGetRelationName
(
relation
)
->
data
))
if
(
IsSystemRelationName
(
RelationGetRelationName
(
relation
)
->
data
))
RelationUnsetLockForWrite
(
relation
);
RelationUnsetLockForWrite
(
relation
);
ReleaseBuffer
(
b
);
ReleaseBuffer
(
b
);
...
...
src/backend/tcop/utility.c
View file @
fce7556d
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/tcop/utility.c,v 1.4
1 1998/06/15 19:29:27
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/tcop/utility.c,v 1.4
2 1998/06/16 02:53:26
momjian Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -74,7 +74,7 @@ if (1) \
...
@@ -74,7 +74,7 @@ if (1) \
if (IsAbortedTransactionBlockState()) \
if (IsAbortedTransactionBlockState()) \
{ \
{ \
elog(NOTICE, "(transaction aborted): %s", \
elog(NOTICE, "(transaction aborted): %s", \
"
queries ignored until END
"); \
"
all queries ignored until end of transaction block
"); \
commandTag = "*ABORT STATE*"; \
commandTag = "*ABORT STATE*"; \
break; \
break; \
} \
} \
...
...
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