Fix silly typo causing SELECT INTO TABLE to sometimes be

treated as SELECT INTO TEMP TABLE.
This commit is contained in:
Tom Lane 1999-02-06 20:28:11 +00:00
parent a553760845
commit fd1afb7453
2 changed files with 9 additions and 9 deletions

View File

@ -240,7 +240,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/Attic/gram.c,v 2.67 1999/02/02 20:30:07 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/parser/Attic/gram.c,v 2.68 1999/02/06 20:28:11 tgl Exp $
*
* HISTORY
* AUTHOR DATE MAJOR EVENT
@ -4801,7 +4801,7 @@ static const short yycheck[] = { 3,
215
};
/* -*-C-*- Note some compilers choke on comments on `#line' lines. */
#line 3 "/usr/local/bison/bison.simple"
#line 3 "/usr/local/share/bison.simple"
/* Skeleton output parser for bison,
Copyright (C) 1984, 1989, 1990 Free Software Foundation, Inc.
@ -4994,7 +4994,7 @@ __yy_memcpy (char *to, char *from, int count)
#endif
#endif
#line 196 "/usr/local/bison/bison.simple"
#line 196 "/usr/local/share/bison.simple"
/* The user can define YYPARSE_PARAM as the name of an argument to be passed
into yyparse. The argument should have type void *.
@ -8017,8 +8017,8 @@ case 478:
* feature. If it makes troubles we will have to add
* a new rule and change this to prevent INTOs in
* Subselects again */
n->istemp = (bool)((A_Const *)lfirst(yyvsp[-4].list))->val.val.ival;
n->into = (char *)lnext(yyvsp[-4].list);
n->istemp = (bool) ((Value *) lfirst(yyvsp[-4].list))->val.ival;
n->into = (char *) lnext(yyvsp[-4].list);
n->fromClause = yyvsp[-3].list;
n->whereClause = yyvsp[-2].node;
@ -11109,7 +11109,7 @@ case 962:
break;}
}
/* the action file gets copied in in place of this dollarsign */
#line 498 "/usr/local/bison/bison.simple"
#line 498 "/usr/local/share/bison.simple"
yyvsp -= yylen;
yyssp -= yylen;

View File

@ -10,7 +10,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.51 1999/02/02 19:20:54 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.52 1999/02/06 20:27:34 tgl Exp $
*
* HISTORY
* AUTHOR DATE MAJOR EVENT
@ -2869,8 +2869,8 @@ SubSelect: SELECT opt_unique res_target_list2
* feature. If it makes troubles we will have to add
* a new rule and change this to prevent INTOs in
* Subselects again */
n->istemp = (bool)((A_Const *)lfirst($4))->val.val.ival;
n->into = (char *)lnext($4);
n->istemp = (bool) ((Value *) lfirst($4))->val.ival;
n->into = (char *) lnext($4);
n->fromClause = $5;
n->whereClause = $6;