Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
1276aef2
Commit
1276aef2
authored
25 years ago
by
Bruce Momjian
Browse files
Options
Downloads
Patches
Plain Diff
Fix problem with temp tables shown in regression test by Jan.
parent
211ed366
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/backend/storage/lmgr/lmgr.c
+2
-2
2 additions, 2 deletions
src/backend/storage/lmgr/lmgr.c
src/backend/utils/cache/inval.c
+2
-2
2 additions, 2 deletions
src/backend/utils/cache/inval.c
src/backend/utils/cache/relcache.c
+4
-5
4 additions, 5 deletions
src/backend/utils/cache/relcache.c
with
8 additions
and
9 deletions
src/backend/storage/lmgr/lmgr.c
+
2
−
2
View file @
1276aef2
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/lmgr.c,v 1.3
5
1999/
09/18 19:07:38 tgl
Exp $
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/lmgr.c,v 1.3
6
1999/
11/17 23:51:21 momjian
Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -118,7 +118,7 @@ RelationInitLockInfo(Relation relation)
...
@@ -118,7 +118,7 @@ RelationInitLockInfo(Relation relation)
Assert
(
RelationIsValid
(
relation
));
Assert
(
RelationIsValid
(
relation
));
Assert
(
OidIsValid
(
RelationGetRelid
(
relation
)));
Assert
(
OidIsValid
(
RelationGetRelid
(
relation
)));
relname
=
(
char
*
)
RelationGetRelationName
(
relation
);
relname
=
(
char
*
)
RelationGet
Physical
RelationName
(
relation
);
relation
->
rd_lockInfo
.
lockRelId
.
relId
=
RelationGetRelid
(
relation
);
relation
->
rd_lockInfo
.
lockRelId
.
relId
=
RelationGetRelid
(
relation
);
...
...
This diff is collapsed.
Click to expand it.
src/backend/utils/cache/inval.c
+
2
−
2
View file @
1276aef2
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/cache/inval.c,v 1.2
8
1999/11/
0
7 23:
08
:2
6
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/cache/inval.c,v 1.2
9
1999/11/
1
7 23:
51
:2
1
momjian Exp $
*
*
* Note - this code is real crufty...
* Note - this code is real crufty...
*
*
...
@@ -561,7 +561,7 @@ RegisterInvalid(bool send)
...
@@ -561,7 +561,7 @@ RegisterInvalid(bool send)
#ifdef INVALIDDEBUG
#ifdef INVALIDDEBUG
#define RelationInvalidateHeapTuple_DEBUG1 \
#define RelationInvalidateHeapTuple_DEBUG1 \
elog(DEBUG, "RelationInvalidateHeapTuple(%s, [%d,%d])", \
elog(DEBUG, "RelationInvalidateHeapTuple(%s, [%d,%d])", \
RelationGetRelationName(relation), \
RelationGet
Physical
RelationName(relation), \
ItemPointerGetBlockNumber(&tuple->t_ctid), \
ItemPointerGetBlockNumber(&tuple->t_ctid), \
ItemPointerGetOffsetNumber(&tuple->t_ctid))
ItemPointerGetOffsetNumber(&tuple->t_ctid))
#else
#else
...
...
This diff is collapsed.
Click to expand it.
src/backend/utils/cache/relcache.c
+
4
−
5
View file @
1276aef2
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/cache/relcache.c,v 1.7
7
1999/11/1
6 04:13:58
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/cache/relcache.c,v 1.7
8
1999/11/1
7 23:51:21
momjian Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -133,7 +133,7 @@ typedef struct relnamecacheent
...
@@ -133,7 +133,7 @@ typedef struct relnamecacheent
do { \
do { \
RelIdCacheEnt *idhentry; RelNameCacheEnt *namehentry; \
RelIdCacheEnt *idhentry; RelNameCacheEnt *namehentry; \
char *relname; Oid reloid; bool found; \
char *relname; Oid reloid; bool found; \
relname = RelationGetRelationName(RELATION); \
relname = RelationGet
Physical
RelationName(RELATION); \
namehentry = (RelNameCacheEnt*)hash_search(RelationNameCache, \
namehentry = (RelNameCacheEnt*)hash_search(RelationNameCache, \
relname, \
relname, \
HASH_ENTER, \
HASH_ENTER, \
...
@@ -186,7 +186,7 @@ do { \
...
@@ -186,7 +186,7 @@ do { \
do { \
do { \
RelNameCacheEnt *namehentry; RelIdCacheEnt *idhentry; \
RelNameCacheEnt *namehentry; RelIdCacheEnt *idhentry; \
char *relname; Oid reloid; bool found; \
char *relname; Oid reloid; bool found; \
relname = RelationGetRelationName(RELATION); \
relname = RelationGet
Physical
RelationName(RELATION); \
namehentry = (RelNameCacheEnt*)hash_search(RelationNameCache, \
namehentry = (RelNameCacheEnt*)hash_search(RelationNameCache, \
relname, \
relname, \
HASH_REMOVE, \
HASH_REMOVE, \
...
@@ -1840,8 +1840,7 @@ RelCheckFetch(Relation relation)
...
@@ -1840,8 +1840,7 @@ RelCheckFetch(Relation relation)
if
(
found
<
ncheck
)
if
(
found
<
ncheck
)
elog
(
ERROR
,
"RelCheckFetch: %d record not found for rel %s"
,
elog
(
ERROR
,
"RelCheckFetch: %d record not found for rel %s"
,
ncheck
-
found
,
ncheck
-
found
,
RelationGetRelationName
(
relation
));
RelationGetRelationName
(
relation
));
index_endscan
(
sd
);
index_endscan
(
sd
);
pfree
(
sd
);
pfree
(
sd
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment