]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Various patches from Bryan that *should* clean up the compile problems
authorMarc G. Fournier <scrappy@hub.org>
Fri, 20 Sep 1996 08:34:39 +0000 (08:34 +0000)
committerMarc G. Fournier <scrappy@hub.org>
Fri, 20 Sep 1996 08:34:39 +0000 (08:34 +0000)
ppl are seeing with v2.0

src/backend/parser/Makefile.inc
src/backend/parser/gram.y
src/backend/regex/regcomp.c
src/backend/regex/regerror.c
src/backend/regex/regexec.c
src/backend/regex/regfree.c

index e5390dd891ed83641ed3d5a0a8fef9eadee25a38..03489db1fcf173788d918a60ec58763e807db6ab 100644 (file)
@@ -7,7 +7,7 @@
 #
 #
 # IDENTIFICATION
-#    $Header: /cvsroot/pgsql/src/backend/parser/Attic/Makefile.inc,v 1.2 1996/07/23 02:23:32 scrappy Exp $
+#    $Header: /cvsroot/pgsql/src/backend/parser/Attic/Makefile.inc,v 1.3 1996/09/20 08:34:10 scrappy Exp $
 #
 #-------------------------------------------------------------------------
 
@@ -17,9 +17,9 @@ VPATH:= $(VPATH):$(CURDIR)/parser
 PARSEYACCS= gram.c
 
 $(PARSEYACCS): gram.y
-       cd $(objdir); \
-       $(YACC) $(YFLAGS) $<; \
-       mv y.tab.c gram.c; \
+       cd $(objdir) 
+       $(YACC) $(YFLAGS) $<
+       mv y.tab.c gram.c
        mv y.tab.h parse.h
 
 $(objdir)/gram.o: gram.c
index 601329ffe9bd705f35a66c4f19498d8361c71dd6..a9b69e9fff8fcbcd56f5beb785fd943191936b89 100644 (file)
@@ -10,7 +10,7 @@
  *
  *
  * IDENTIFICATION
- *    $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 1.11 1996/08/28 22:50:21 scrappy Exp $
+ *    $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 1.12 1996/09/20 08:34:14 scrappy Exp $
  *
  * HISTORY
  *    AUTHOR           DATE            MAJOR EVENT
@@ -122,7 +122,7 @@ static Node *makeA_Expr(int op, char *opname, Node *lexpr, Node *rexpr);
 
 %type <list>   queryblock, relation_name_list, OptTableElementList,
        tableElementList, OptInherit, definition,
-       opt_with_func, opt_with, def_args, def_name_list, func_argtypes, 
+       opt_with_func, def_args, def_name_list, func_argtypes, 
        oper_argtypes, OptStmtList, OptStmtBlock, opt_column_list, columnList,
        exprList, sort_clause, sortby_list, index_params, 
        name_list, from_clause, from_list, opt_array_bounds, nest_array_bounds,
@@ -658,7 +658,7 @@ opt_portal_name: IN name                    { $$ = $2;}
  *****************************************************************************/
 
 IndexStmt:  CREATE INDEX index_name ON relation_name
-           access_method_clause '(' index_params ')' opt_with
+           access_method_clause '(' index_params ')' opt_with_func
                {
                    /* should check that access_method is valid,
                       etc ... but doesn't */
index 186d6ecff86d413089a0a0ab29aa17419d33b5ea..88445cd50dc4de0ef5a0a3be35c58f7fc40d39f5 100644 (file)
@@ -47,13 +47,12 @@ static char sccsid[] = "@(#)regcomp.c       8.5 (Berkeley) 3/20/94";
 #include <ctype.h>
 #include <limits.h>
 #include <stdlib.h>
-#include <regex.h>
 
-#include "regex/utils.h"
-#include "regex/regex2.h"
-
-#include "regex/cclass.h"
-#include "regex/cname.h"
+#include <regex/regex.h>   
+#include <regex/utils.h>
+#include <regex/regex2.h>
+#include <regex/cclass.h>
+#include <regex/cname.h>
 
 /*
  * parse structure, passed up and down to avoid global variables and
index 762398b51d9ec94c83c8e3a21deb0b23f9572d5d..dbfcc250613e2fe0a9c99bd09aadb9b7be76b391 100644 (file)
@@ -47,9 +47,9 @@ static char sccsid[] = "@(#)regerror.c        8.4 (Berkeley) 3/20/94";
 #include <ctype.h>
 #include <limits.h>
 #include <stdlib.h>
-#include <regex.h>
 
-#include "regex/utils.h"
+#include <regex/regex.h>
+#include <regex/utils.h>
 
 /* ========= begin header generated by ./mkh ========= */
 #ifdef __cplusplus
index 65fda30ff23026c6eb81d84875ad6541e5ad9a11..a34f3f8daffb1bac1e8f44b248e87bbefc8c2038 100644 (file)
@@ -54,10 +54,10 @@ static char sccsid[] = "@(#)regexec.c       8.3 (Berkeley) 3/20/94";
 #include <string.h>
 #include <limits.h>
 #include <ctype.h>
-#include <regex.h>
 
-#include "regex/utils.h"
-#include "regex/regex2.h"
+#include <regex/regex.h>
+#include <regex/utils.h>
+#include <regex/regex2.h>
 
 static int nope = 0;           /* for use in asserts; shuts lint up */
 
index 73d66079c29d99733335fb4e98a1732a062b333f..9a7ff5cb5e12035fe53341017a2483c2a72646ac 100644 (file)
@@ -44,10 +44,10 @@ static char sccsid[] = "@(#)regfree.c       8.3 (Berkeley) 3/20/94";
 #include <sys/types.h>
 #include <stdio.h>
 #include <stdlib.h>
-#include <regex.h>
 
-#include "regex/utils.h"
-#include "regex/regex2.h"
+#include <regex/regex.h>
+#include <regex/utils.h>
+#include <regex/regex2.h>
 
 /*
  - regfree - free everything