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
043cebce
Commit
043cebce
authored
Nov 21, 1997
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More archive cleanup.
parent
629e2728
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
28 deletions
+5
-28
src/backend/storage/large_object/inv_api.c
src/backend/storage/large_object/inv_api.c
+2
-11
src/backend/tcop/utility.c
src/backend/tcop/utility.c
+1
-2
src/bin/pg_dump/common.c
src/bin/pg_dump/common.c
+1
-12
src/include/libpq/libpq-fs.h
src/include/libpq/libpq-fs.h
+1
-3
No files found.
src/backend/storage/large_object/inv_api.c
View file @
043cebce
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/storage/large_object/inv_api.c,v 1.2
1 1997/11/21 18:11:12
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/storage/large_object/inv_api.c,v 1.2
2 1997/11/21 19:02:37
momjian Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -79,7 +79,7 @@ static int _inv_getsize(Relation hreln, TupleDesc hdesc, Relation ireln);
...
@@ -79,7 +79,7 @@ static int _inv_getsize(Relation hreln, TupleDesc hdesc, Relation ireln);
* inv_create -- create a new large object.
* inv_create -- create a new large object.
*
*
* Arguments:
* Arguments:
* flags --
storage manager to use, archive mode, etc.
* flags --
was archive, smgr
*
*
* Returns:
* Returns:
* large object descriptor, appropriately filled in.
* large object descriptor, appropriately filled in.
...
@@ -91,21 +91,12 @@ inv_create(int flags)
...
@@ -91,21 +91,12 @@ inv_create(int flags)
LargeObjectDesc
*
retval
;
LargeObjectDesc
*
retval
;
Relation
r
;
Relation
r
;
Relation
indr
;
Relation
indr
;
int
smgr
;
char
archchar
;
TupleDesc
tupdesc
;
TupleDesc
tupdesc
;
AttrNumber
attNums
[
1
];
AttrNumber
attNums
[
1
];
Oid
classObjectId
[
1
];
Oid
classObjectId
[
1
];
char
objname
[
NAMEDATALEN
];
char
objname
[
NAMEDATALEN
];
char
indname
[
NAMEDATALEN
];
char
indname
[
NAMEDATALEN
];
/* parse flags */
smgr
=
flags
&
INV_SMGRMASK
;
if
(
flags
&
INV_ARCHIVE
)
archchar
=
'h'
;
else
archchar
=
'n'
;
/*
/*
* add one here since the pg_class tuple created will have the next
* add one here since the pg_class tuple created will have the next
* oid and we want to have the relation name to correspond to the
* oid and we want to have the relation name to correspond to the
...
...
src/backend/tcop/utility.c
View file @
043cebce
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/tcop/utility.c,v 1.
29 1997/11/21 18:11:16
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/tcop/utility.c,v 1.
30 1997/11/21 19:02:42
momjian Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -391,7 +391,6 @@ ProcessUtility(Node * parsetree,
...
@@ -391,7 +391,6 @@ ProcessUtility(Node * parsetree,
commandTag
=
"CREATE"
;
commandTag
=
"CREATE"
;
CHECK_IF_ABORTED
();
CHECK_IF_ABORTED
();
/* XXX no support for ARCHIVE indices, yet */
DefineIndex
(
stmt
->
relname
,
/* relation name */
DefineIndex
(
stmt
->
relname
,
/* relation name */
stmt
->
idxname
,
/* index name */
stmt
->
idxname
,
/* index name */
stmt
->
accessMethod
,
/* am name */
stmt
->
accessMethod
,
/* am name */
...
...
src/bin/pg_dump/common.c
View file @
043cebce
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/bin/pg_dump/common.c,v 1.1
8 1997/10/30 16:47:57 thomas
Exp $
* $Header: /cvsroot/pgsql/src/bin/pg_dump/common.c,v 1.1
9 1997/11/21 19:02:50 momjian
Exp $
*
*
* Modifications - 6/12/96 - dave@bensoft.com - version 1.13.dhb.2
* Modifications - 6/12/96 - dave@bensoft.com - version 1.13.dhb.2
*
*
...
@@ -469,17 +469,6 @@ findFuncByName(FuncInfo *finfo, int numFuncs, const char *name)
...
@@ -469,17 +469,6 @@ findFuncByName(FuncInfo *finfo, int numFuncs, const char *name)
return
-
1
;
return
-
1
;
}
}
/*
* isArchiveName
*
* returns true if the relation name is an archive name, false otherwise
*/
int
isArchiveName
(
const
char
*
relname
)
{
return
(
strlen
(
relname
)
>
1
&&
relname
[
1
]
==
','
);
}
/*
/*
* fmtId
* fmtId
*
*
...
...
src/include/libpq/libpq-fs.h
View file @
043cebce
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
*
*
* Copyright (c) 1994, Regents of the University of California
* Copyright (c) 1994, Regents of the University of California
*
*
* $Id: libpq-fs.h,v 1.
5 1997/09/08 02:37:07
momjian Exp $
* $Id: libpq-fs.h,v 1.
6 1997/11/21 19:02:59
momjian Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -88,8 +88,6 @@ struct pgdirent
...
@@ -88,8 +88,6 @@ struct pgdirent
* manager to be used, and the high sixteen bits for flags.
* manager to be used, and the high sixteen bits for flags.
*/
*/
#define INV_SMGRMASK 0x0000ffff
#define INV_ARCHIVE 0x00010000
#define INV_WRITE 0x00020000
#define INV_WRITE 0x00020000
#define INV_READ 0x00040000
#define INV_READ 0x00040000
...
...
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