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
0000a0c0
Commit
0000a0c0
authored
Mar 30, 1999
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Small cleanups.
parent
4373c4d4
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
17 deletions
+10
-17
src/backend/access/transam/transam.c
src/backend/access/transam/transam.c
+2
-3
src/backend/access/transam/transsup.c
src/backend/access/transam/transsup.c
+2
-3
src/backend/commands/command.c
src/backend/commands/command.c
+3
-4
src/backend/executor/spi.c
src/backend/executor/spi.c
+2
-2
src/include/c.h
src/include/c.h
+1
-5
No files found.
src/backend/access/transam/transam.c
View file @
0000a0c0
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/transam/transam.c,v 1.2
4 1999/02/21 03:48:28 scrappy
Exp $
* $Header: /cvsroot/pgsql/src/backend/access/transam/transam.c,v 1.2
5 1999/03/30 01:37:21 momjian
Exp $
*
* NOTES
* This file contains the high level access-method interface to the
...
...
@@ -174,8 +174,7 @@ TransactionLogTest(TransactionId transactionId, /* transaction id to test */
{
TransactionIdStore
(
transactionId
,
&
cachedTestXid
);
cachedTestXidStatus
=
xidstatus
;
return
(
bool
)
(
status
==
xidstatus
);
return
(
bool
)
(
status
==
xidstatus
);
}
/* ----------------
...
...
src/backend/access/transam/transsup.c
View file @
0000a0c0
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/transam/Attic/transsup.c,v 1.2
0 1999/02/13 23:14:47
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/access/transam/Attic/transsup.c,v 1.2
1 1999/03/30 01:37:21
momjian Exp $
*
* NOTES
* This file contains support functions for the high
...
...
@@ -211,8 +211,7 @@ TransBlockGetXidStatus(Block tblock,
* return the transaction status to the caller
* ----------------
*/
return
(
XidStatus
)
(
bit1
|
bit2
);
return
(
XidStatus
)
(
bit1
|
bit2
);
}
/* --------------------------------
...
...
src/backend/commands/command.c
View file @
0000a0c0
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/command.c,v 1.4
1 1999/03/23 05:40:59
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/command.c,v 1.4
2 1999/03/30 01:37:22
momjian Exp $
*
* NOTES
* The PortalExecutorHeapMemory crap needs to be eliminated
...
...
@@ -71,8 +71,7 @@ PortalCleanup(Portal portal)
* ----------------
*/
context
=
MemoryContextSwitchTo
((
MemoryContext
)
PortalGetHeapMemory
(
portal
));
PortalExecutorHeapMemory
=
(
MemoryContext
)
PortalGetHeapMemory
(
portal
);
PortalExecutorHeapMemory
=
(
MemoryContext
)
PortalGetHeapMemory
(
portal
);
/* ----------------
* tell the executor to shutdown the query
...
...
@@ -210,7 +209,7 @@ PerformPortalFetch(char *name,
* ----------------
*/
MemoryContextSwitchTo
(
(
MemoryContext
)
PortalGetHeapMemory
(
GetPortalByName
(
NULL
)));
(
MemoryContext
)
PortalGetHeapMemory
(
GetPortalByName
(
NULL
)));
}
/* --------------------------------
...
...
src/backend/executor/spi.c
View file @
0000a0c0
...
...
@@ -3,7 +3,7 @@
* spi.c
* Server Programming Interface
*
* $Id: spi.c,v 1.3
5 1999/03/09 13:39:00 scrappy
Exp $
* $Id: spi.c,v 1.3
6 1999/03/30 01:37:23 momjian
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -49,7 +49,7 @@ extern void ShowUsage(void);
int
SPI_connect
()
{
char
pname
[
64
];
char
pname
[
64
];
PortalVariableMemory
pvmem
;
/*
...
...
src/include/c.h
View file @
0000a0c0
...
...
@@ -7,7 +7,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: c.h,v 1.5
2 1999/03/09 13:39:01 scrappy
Exp $
* $Id: c.h,v 1.5
3 1999/03/30 01:37:28 momjian
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -57,10 +57,6 @@
#include <errno.h>
#endif
#ifdef __CYGWIN32__
#include <errno.h>
#endif
/* ----------------------------------------------------------------
* Section 1: bool, true, false, TRUE, FALSE
* ----------------------------------------------------------------
...
...
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