mirror of
https://github.com/postgres/postgres.git
synced 2025-11-07 19:06:32 +03:00
Included all yacc and lex files into the distribution.
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
*
|
||||
* Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: parsenodes.h,v 1.93 2000/01/14 22:11:38 petere Exp $
|
||||
* $Id: parsenodes.h,v 1.94 2000/01/16 20:04:58 petere Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -84,16 +84,20 @@ typedef struct Query
|
||||
*****************************************************************************/
|
||||
|
||||
/* ----------------------
|
||||
* Add Column Statement
|
||||
* Alter Table
|
||||
* ----------------------
|
||||
*/
|
||||
typedef struct AddAttrStmt
|
||||
/* The fields are used in different ways by the different variants of this command */
|
||||
typedef struct AlterTableStmt
|
||||
{
|
||||
NodeTag type;
|
||||
char *relname; /* the relation to add attr */
|
||||
bool inh; /* add recursively to children? */
|
||||
Node *colDef; /* the attribute definition */
|
||||
} AddAttrStmt;
|
||||
char subtype; /* A = add, T = alter, D = drop, C = add constr, X = drop constr */
|
||||
char *relname; /* table to work on */
|
||||
bool inh; /* recursively on children? */
|
||||
char *name; /* column or constraint name to act on */
|
||||
Node *def; /* definition of new column or constraint */
|
||||
int behavior; /* CASCADE or RESTRICT drop behavior */
|
||||
} AlterTableStmt;
|
||||
|
||||
/* ----------------------
|
||||
* Change ACL Statement
|
||||
|
||||
Reference in New Issue
Block a user