Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit195f78e

Browse files
committed
More archive cleanup.
1 parent043cebc commit195f78e

File tree

4 files changed

+7
-28
lines changed

4 files changed

+7
-28
lines changed

‎src/include/nodes/parsenodes.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: parsenodes.h,v 1.32 1997/11/2118:12:28 momjian Exp $
9+
* $Id: parsenodes.h,v 1.33 1997/11/2119:12:25 momjian Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -62,8 +62,6 @@ typedef struct Query
6262
/* internal to planner */
6363
List*base_relation_list_;/* base relation list */
6464
List*join_relation_list_;/* list of relations generated by
65-
* joins */
66-
boolquery_is_archival_;/* archival query flag */
6765
}Query;
6866
6967

‎src/include/parser/parsetree.h

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
* Copyright (c) 1994, Regents of the University of California
99
*
10-
* $Id: parsetree.h,v 1.3 1997/09/07 04:59:38 momjian Exp $
10+
* $Id: parsetree.h,v 1.4 1997/11/21 19:12:28 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -30,16 +30,7 @@
3030
* ^^^^^^^^^^
3131
*range table:
3232
*(rtentry ...)
33-
*
3433
*rtentry:
35-
*note: this might be wrong, I don't understand how
36-
*rt_time / rt_archive_time work together. anyways it
37-
*looks something like:
38-
*
39-
* (relname ?relid timestuff flags rulelocks)
40-
*or (new/cur relname relid timestuff flags rulelocks)
41-
*
42-
*someone who knows more should correct this -cim 6/9/91
4334
* ----------------
4435
*/
4536

‎src/include/utils/rel.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: rel.h,v 1.13 1997/10/28 15:11:43 vadim Exp $
9+
* $Id: rel.h,v 1.14 1997/11/21 19:12:32 momjian Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -77,8 +77,6 @@ typedef Relation *RelationPtr;
7777

7878
#defineInvalidRelation ((Relation)NULL)
7979

80-
typedefcharArchiveMode;
81-
8280
/*
8381
* RelationIsValid --
8482
*True iff relation descriptor is valid.

‎src/interfaces/libpgtcl/pgtclCmds.c

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/interfaces/libpgtcl/Attic/pgtclCmds.c,v 1.18 1997/10/30 17:29:57 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/interfaces/libpgtcl/Attic/pgtclCmds.c,v 1.19 1997/11/21 19:12:41 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -1000,7 +1000,7 @@ Pg_lo_creat
10001000
syntax:
10011001
pg_lo_creat conn mode
10021002
1003-
mode can be any OR'ing together of INV_READ, INV_WRITE, and INV_ARCHIVE,
1003+
mode can be any OR'ing together of INV_READ, INV_WRITE
10041004
for now, we don't support any additional storage managers.
10051005
10061006
***********************************/
@@ -1038,14 +1038,10 @@ Pg_lo_creat(ClientData cData, Tcl_Interp * interp, int argc, char *argv[])
10381038
{
10391039
mode=INV_WRITE;
10401040
}
1041-
elseif (strcmp(modeWord,"INV_ARCHIVE")==0)
1042-
{
1043-
mode=INV_ARCHIVE;
1044-
}
10451041
else
10461042
{
10471043
Tcl_AppendResult(interp,
1048-
"invalid mode argument to Pg_lo_creat\nmode argument must be some OR'd combination of INV_READ,INV_WRITE,andINV_ARCHIVE",
1044+
"invalid mode argument to Pg_lo_creat\nmode argument must be some OR'd combination of INV_READ, andINV_WRITE",
10491045
0);
10501046
returnTCL_ERROR;
10511047
}
@@ -1060,14 +1056,10 @@ Pg_lo_creat(ClientData cData, Tcl_Interp * interp, int argc, char *argv[])
10601056
{
10611057
mode |=INV_WRITE;
10621058
}
1063-
elseif (strcmp(modeWord,"INV_ARCHIVE")==0)
1064-
{
1065-
mode |=INV_ARCHIVE;
1066-
}
10671059
else
10681060
{
10691061
Tcl_AppendResult(interp,
1070-
"invalid mode argument to Pg_lo_creat\nmode argument must be some OR'd combination of INV_READ,INV_WRITE,andINV_ARCHIVE",
1062+
"invalid mode argument to Pg_lo_creat\nmode argument must be some OR'd combination of INV_READ, andINV_WRITE",
10711063
0);
10721064
returnTCL_ERROR;
10731065
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp