Commit 3d15d133 authored by Bruce Momjian's avatar Bruce Momjian

Remove old quel labels.

parent bf8af220
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/analyze.c,v 1.61 1998/01/05 03:32:12 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/parser/analyze.c,v 1.62 1998/01/09 20:05:49 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -33,12 +33,12 @@ ...@@ -33,12 +33,12 @@
static Query *transformStmt(ParseState *pstate, Node *stmt); static Query *transformStmt(ParseState *pstate, Node *stmt);
static Query *transformDeleteStmt(ParseState *pstate, DeleteStmt *stmt); static Query *transformDeleteStmt(ParseState *pstate, DeleteStmt *stmt);
static Query *transformInsertStmt(ParseState *pstate, AppendStmt *stmt); static Query *transformInsertStmt(ParseState *pstate, InsertStmt *stmt);
static Query *transformIndexStmt(ParseState *pstate, IndexStmt *stmt); static Query *transformIndexStmt(ParseState *pstate, IndexStmt *stmt);
static Query *transformExtendStmt(ParseState *pstate, ExtendStmt *stmt); static Query *transformExtendStmt(ParseState *pstate, ExtendStmt *stmt);
static Query *transformRuleStmt(ParseState *query, RuleStmt *stmt); static Query *transformRuleStmt(ParseState *query, RuleStmt *stmt);
static Query *transformSelectStmt(ParseState *pstate, RetrieveStmt *stmt); static Query *transformSelectStmt(ParseState *pstate, SelectStmt *stmt);
static Query *transformUpdateStmt(ParseState *pstate, ReplaceStmt *stmt); static Query *transformUpdateStmt(ParseState *pstate, UpdateStmt *stmt);
static Query *transformCursorStmt(ParseState *pstate, CursorStmt *stmt); static Query *transformCursorStmt(ParseState *pstate, CursorStmt *stmt);
static Query *transformCreateStmt(ParseState *pstate, CreateStmt *stmt); static Query *transformCreateStmt(ParseState *pstate, CreateStmt *stmt);
...@@ -163,24 +163,24 @@ transformStmt(ParseState *pstate, Node *parseTree) ...@@ -163,24 +163,24 @@ transformStmt(ParseState *pstate, Node *parseTree)
* Optimizable statements * Optimizable statements
*------------------------ *------------------------
*/ */
case T_AppendStmt: case T_InsertStmt:
result = transformInsertStmt(pstate, (AppendStmt *) parseTree); result = transformInsertStmt(pstate, (InsertStmt *) parseTree);
break; break;
case T_DeleteStmt: case T_DeleteStmt:
result = transformDeleteStmt(pstate, (DeleteStmt *) parseTree); result = transformDeleteStmt(pstate, (DeleteStmt *) parseTree);
break; break;
case T_ReplaceStmt: case T_UpdateStmt:
result = transformUpdateStmt(pstate, (ReplaceStmt *) parseTree); result = transformUpdateStmt(pstate, (UpdateStmt *) parseTree);
break; break;
case T_CursorStmt: case T_CursorStmt:
result = transformCursorStmt(pstate, (CursorStmt *) parseTree); result = transformCursorStmt(pstate, (CursorStmt *) parseTree);
break; break;
case T_RetrieveStmt: case T_SelectStmt:
result = transformSelectStmt(pstate, (RetrieveStmt *) parseTree); result = transformSelectStmt(pstate, (SelectStmt *) parseTree);
break; break;
default: default:
...@@ -231,7 +231,7 @@ transformDeleteStmt(ParseState *pstate, DeleteStmt *stmt) ...@@ -231,7 +231,7 @@ transformDeleteStmt(ParseState *pstate, DeleteStmt *stmt)
* transform an Insert Statement * transform an Insert Statement
*/ */
static Query * static Query *
transformInsertStmt(ParseState *pstate, AppendStmt *stmt) transformInsertStmt(ParseState *pstate, InsertStmt *stmt)
{ {
Query *qry = makeNode(Query); /* make a new query tree */ Query *qry = makeNode(Query); /* make a new query tree */
List *icolumns; List *icolumns;
...@@ -800,7 +800,7 @@ transformRuleStmt(ParseState *pstate, RuleStmt *stmt) ...@@ -800,7 +800,7 @@ transformRuleStmt(ParseState *pstate, RuleStmt *stmt)
* *
*/ */
static Query * static Query *
transformSelectStmt(ParseState *pstate, RetrieveStmt *stmt) transformSelectStmt(ParseState *pstate, SelectStmt *stmt)
{ {
Query *qry = makeNode(Query); Query *qry = makeNode(Query);
...@@ -851,7 +851,7 @@ transformSelectStmt(ParseState *pstate, RetrieveStmt *stmt) ...@@ -851,7 +851,7 @@ transformSelectStmt(ParseState *pstate, RetrieveStmt *stmt)
* *
*/ */
static Query * static Query *
transformUpdateStmt(ParseState *pstate, ReplaceStmt *stmt) transformUpdateStmt(ParseState *pstate, UpdateStmt *stmt)
{ {
Query *qry = makeNode(Query); Query *qry = makeNode(Query);
......
This diff is collapsed.
...@@ -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: parsenodes.h,v 1.40 1997/12/27 06:41:39 momjian Exp $ * $Id: parsenodes.h,v 1.41 1998/01/09 20:06:08 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -570,7 +570,7 @@ typedef struct VariableResetStmt ...@@ -570,7 +570,7 @@ typedef struct VariableResetStmt
* Insert Statement * Insert Statement
* ---------------------- * ----------------------
*/ */
typedef struct AppendStmt typedef struct InsertStmt
{ {
NodeTag type; NodeTag type;
char *relname; /* relation to insert into */ char *relname; /* relation to insert into */
...@@ -578,7 +578,7 @@ typedef struct AppendStmt ...@@ -578,7 +578,7 @@ typedef struct AppendStmt
List *targetList; /* the target list (of ResTarget) */ List *targetList; /* the target list (of ResTarget) */
List *fromClause; /* the from clause */ List *fromClause; /* the from clause */
Node *whereClause; /* qualifications */ Node *whereClause; /* qualifications */
} AppendStmt; } InsertStmt;
/* ---------------------- /* ----------------------
* Delete Statement * Delete Statement
...@@ -595,14 +595,14 @@ typedef struct DeleteStmt ...@@ -595,14 +595,14 @@ typedef struct DeleteStmt
* Update Statement * Update Statement
* ---------------------- * ----------------------
*/ */
typedef struct ReplaceStmt typedef struct UpdateStmt
{ {
NodeTag type; NodeTag type;
char *relname; /* relation to update */ char *relname; /* relation to update */
List *targetList; /* the target list (of ResTarget) */ List *targetList; /* the target list (of ResTarget) */
Node *whereClause; /* qualifications */ Node *whereClause; /* qualifications */
List *fromClause; /* the from clause */ List *fromClause; /* the from clause */
} ReplaceStmt; } UpdateStmt;
/* ---------------------- /* ----------------------
* Create Cursor Statement * Create Cursor Statement
...@@ -625,7 +625,7 @@ typedef struct CursorStmt ...@@ -625,7 +625,7 @@ typedef struct CursorStmt
* Select Statement * Select Statement
* ---------------------- * ----------------------
*/ */
typedef struct RetrieveStmt typedef struct SelectStmt
{ {
NodeTag type; NodeTag type;
char *unique; /* NULL, '*', or unique attribute name */ char *unique; /* NULL, '*', or unique attribute name */
...@@ -638,7 +638,7 @@ typedef struct RetrieveStmt ...@@ -638,7 +638,7 @@ typedef struct RetrieveStmt
List *unionClause; /* union subselect parameters */ List *unionClause; /* union subselect parameters */
List *sortClause; /* sort clause (a list of SortGroupBy's) */ List *sortClause; /* sort clause (a list of SortGroupBy's) */
bool unionall; /* union without unique sort */ bool unionall; /* union without unique sort */
} RetrieveStmt; } SelectStmt;
/**************************************************************************** /****************************************************************************
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment