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

Commit6df955f

Browse files
committed
Fix problem with selectivity error in added columns with ALTER TABLE.
Move files to deadcode.
1 parentf3f7c2a commit6df955f

File tree

7 files changed

+11
-10
lines changed

7 files changed

+11
-10
lines changed

‎src/backend/commands/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Makefile for commands
55
#
66
# IDENTIFICATION
7-
# $Header: /cvsroot/pgsql/src/backend/commands/Makefile,v 1.16 1998/10/08 18:37:14 momjian Exp $
7+
# $Header: /cvsroot/pgsql/src/backend/commands/Makefile,v 1.17 1999/02/24 17:28:57 momjian Exp $
88
#
99
#-------------------------------------------------------------------------
1010

@@ -17,7 +17,7 @@ ifdef MULTIBYTE
1717
CFLAGS+=$(MBFLAGS)
1818
endif
1919

20-
OBJS = async.o creatinh.o command.o copy.odefind.o define.o\
20+
OBJS = async.o creatinh.o command.o copy.oindexcmds.o define.o\
2121
remove.o rename.o vacuum.o view.o cluster.o\
2222
recipe.o explain.o sequence.o trigger.o user.o proclang.o\
2323
dbcommands.o variable.o

‎src/backend/commands/recipe.crenamed to‎src/backend/commands/_deadcode/recipe.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/recipe.c,v 1.28 1999/02/13 23:15:07 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/commands/_deadcode/Attic/recipe.c,v 1.1 1999/02/24 17:29:00 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/

‎src/include/commands/recipe.hrenamed to‎src/backend/commands/_deadcode/recipe.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* Copyright (c) 1994, Regents of the University of California
77
*
8-
* $Id: recipe.h,v 1.7 1999/02/13 23:21:19 momjian Exp $
8+
* $Id: recipe.h,v 1.1 1999/02/24 17:29:00 momjian Exp $
99
*
1010
*-------------------------------------------------------------------------
1111
*/

‎src/backend/commands/command.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/command.c,v 1.38 1999/02/13 23:15:03 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/command.c,v 1.39 1999/02/24 17:28:57 momjian Exp $
1111
*
1212
* NOTES
1313
* The PortalExecutorHeapMemory crap needs to be eliminated
@@ -476,7 +476,7 @@ PerformAddAttribute(char *relationName,
476476
namestrcpy(&(attribute->attname),colDef->colname);
477477
attribute->atttypid=typeTuple->t_data->t_oid;
478478
attribute->attlen=form->typlen;
479-
attributeD.attdisbursion=0;
479+
attribute->attdisbursion=0;
480480
attribute->attcacheoff=-1;
481481
attribute->atttypmod=colDef->typename->typmod;
482482
attribute->attnum=i;

‎src/backend/commands/defind.crenamed to‎src/backend/commands/indexcmds.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/defind.c,v 1.34 1999/02/13 23:15:05 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/commands/indexcmds.c,v 1.1 1999/02/24 17:28:58 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/

‎src/backend/tcop/utility.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
*
1111
* IDENTIFICATION
12-
* $Header: /cvsroot/pgsql/src/backend/tcop/utility.c,v 1.55 1999/02/13 23:18:48 momjian Exp $
12+
* $Header: /cvsroot/pgsql/src/backend/tcop/utility.c,v 1.56 1999/02/24 17:29:01 momjian Exp $
1313
*
1414
*-------------------------------------------------------------------------
1515
*/
@@ -663,6 +663,7 @@ ProcessUtility(Node *parsetree,
663663
}
664664
break;
665665

666+
#ifdefNOT_USED
666667
/*
667668
* ******************************** Tioga-related statements *******************************
668669
*/
@@ -675,6 +676,7 @@ ProcessUtility(Node *parsetree,
675676
beginRecipe(stmt);
676677
}
677678
break;
679+
#endif
678680

679681
/*
680682
* ******************************** set variable statements *******************************

‎src/include/nodes/nodes.h

Lines changed: 1 addition & 2 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: nodes.h,v 1.44 1999/02/23 07:55:24 thomas Exp $
9+
* $Id: nodes.h,v 1.45 1999/02/24 17:29:06 momjian Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -163,7 +163,6 @@ typedef enum NodeTag
163163
T_FetchStmt,
164164
T_IndexStmt,
165165
T_ProcedureStmt,
166-
T_RecipeStmt,
167166
T_RemoveAggrStmt,
168167
T_RemoveFuncStmt,
169168
T_RemoveOperStmt,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp