]> granicus.if.org Git - postgresql/commitdiff
Here's a patch. It also includes the latest parser changes.
authorBruce Momjian <bruce@momjian.us>
Fri, 16 Oct 1998 04:40:39 +0000 (04:40 +0000)
committerBruce Momjian <bruce@momjian.us>
Fri, 16 Oct 1998 04:40:39 +0000 (04:40 +0000)
Michael

src/interfaces/ecpg/ChangeLog
src/interfaces/ecpg/lib/Makefile.in
src/interfaces/ecpg/preproc/Makefile
src/interfaces/ecpg/preproc/preproc.y

index b431a0b60584e086de3ac41ab97d341cf4f719a2..c4bce8e9e7ea722f2bd21d06060a3a8c5d95ab7c 100644 (file)
@@ -348,4 +348,11 @@ Wed Sep 30 12:15:10 CEST 1998
        - Synced preproc.y with gram.y yet again.
        - Set version to 2.4.3
 
+Mon Okt 12 12:36:04 CEST 1998
 
+       - Synced preproc.y with gram.y yet again.
+
+Thu Okt 15 10:05:04 CEST 1998
+
+       - Synced preproc.y with gram.y yet again.
+        - Set version to 2.4.4
index 310a801332eaf5bc258ef7a17951eb58682e1bb2..d9f7d7c763a564636bf8280f2d3dc88b25432cbe 100644 (file)
@@ -104,7 +104,7 @@ ecpglib.o : ecpglib.c ../include/ecpglib.h ../include/ecpgtype.h
 typename.o : typename.c ../include/ecpgtype.h
        $(CC) $(CFLAGS) -I../include $(PQ_INCLUDE) -c $< -o $@
 
-ecpglib.sho.o : ecpglib.c ../include/ecpglib.h ../include/ecpgtype.h
+ecpglib.sho : ecpglib.c ../include/ecpglib.h ../include/ecpgtype.h
        $(CC) $(CFLAGS) $(CFLAGS_SL) -I../include $(PQ_INCLUDE) -c $< -o $@
-typename.sho.o : typename.c ../include/ecpgtype.h
+typename.sho : typename.c ../include/ecpgtype.h
        $(CC) $(CFLAGS) $(CFLAGS_SL) -I../include $(PQ_INCLUDE) -c $< -o $@
index 6b385ee39d579e0962d7f8076f95c55a23f05800..fd4a305f00b7bb21331ccd929a0211e6d96cb384 100644 (file)
@@ -3,7 +3,7 @@ include $(SRCDIR)/Makefile.global
 
 MAJOR_VERSION=2
 MINOR_VERSION=4
-PATCHLEVEL=3
+PATCHLEVEL=4
 
 CFLAGS+=-I../include -DMAJOR_VERSION=$(MAJOR_VERSION) \
        -DMINOR_VERSION=$(MINOR_VERSION) -DPATCHLEVEL=$(PATCHLEVEL) \
index 387ba1e1439452ed6c9ce3ee2fe22d5c05c64b04..ef3b954b1883eb9b0d107e82ad01c31b426219d4 100644 (file)
@@ -2153,6 +2153,10 @@ UnlistenStmt:  UNLISTEN relation_name
                                {
                                        $$ = cat2_str(make1_str("unlisten"), $2);
                                 }
+               | UNLISTEN '*'
+                               {
+                                       $$ = make1_str("unlisten *");
+                                }
 ;
 
 /*****************************************************************************
@@ -3796,9 +3800,9 @@ AexprConst:  Iconst
                                }
                ;
 
-ParamNo:  PARAM
+ParamNo:  PARAM opt_indirection
                                {
-                                       $$ = make_name();
+                                       $$ = cat2_str(make_name(), $2);
                                }
                ;
 
@@ -3896,6 +3900,7 @@ ColId:  ident                                     { $$ = $1; }
                | STDIN                         { $$ = make1_str("stdin"); }
                | STDOUT                        { $$ = make1_str("stdout"); }
                | TIME                          { $$ = make1_str("time"); }
+               | TIMESTAMP                     { $$ = make1_str("timestamp"); }
                | TIMEZONE_HOUR                 { $$ = make1_str("timezone_hour"); }
                 | TIMEZONE_MINUTE               { $$ = make1_str("timezone_minute"); }
                | TRIGGER                       { $$ = make1_str("trigger"); }