]> granicus.if.org Git - postgresql/commitdiff
ConstraintDef changed
authorVadim B. Mikheev <vadim4o@yahoo.com>
Fri, 22 Aug 1997 04:05:27 +0000 (04:05 +0000)
committerVadim B. Mikheev <vadim4o@yahoo.com>
Fri, 22 Aug 1997 04:05:27 +0000 (04:05 +0000)
src/include/nodes/parsenodes.h

index 00c70ee9ec8dac482c610162ddc9df12208202f9..7d55e49e3e0920d5b5332742bb6df5757d43f71c 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: parsenodes.h,v 1.19 1997/08/21 01:39:25 vadim Exp $
+ * $Id: parsenodes.h,v 1.20 1997/08/22 04:05:27 vadim Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -143,11 +143,11 @@ typedef enum ConstrType {
     CONSTR_NONE, CONSTR_CHECK          /* type of constaints */
 } ConstrType;
 
-typedef struct ConstaintDef {
+typedef struct ConstraintDef {
     ConstrType         type;
     char               *name;          /* name */
-    char               *expr;          /*  */
-} ConstaintDef;
+    void               *def;           /* definition */
+} ConstraintDef;
 
 /* ----------------------
  *     Create SEQUENCE Statement