]> git.pld-linux.org Git - packages/postgresql.git/commitdiff
- updated for 8.0.2, 2 of 4 hunks seems to be already in sources
authorhawk <hawk@pld-linux.org>
Mon, 18 Apr 2005 09:11:00 +0000 (09:11 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    postgresql-gram.patch -> 1.2

postgresql-gram.patch

index 65e7bb3ae021c2cec3e9dbe600ba0ef50cf53de9..4d92b7e99a0ce648a245e673d4bebd08ed4891b7 100644 (file)
        }
  
        if (endtoken)
-@@ -1940,6 +1949,15 @@
-                                       while ((tok = yylex()) == ',')
-                                       {
-+                                              /* Check for array overflow */
-+                                              if (nfields >= 1024)
-+                                              {
-+                                                      plpgsql_error_lineno = plpgsql_scanner_lineno();
-+                                                      ereport(ERROR,
-+                                                                      (errcode(ERRCODE_PROGRAM_LIMIT_EXCEEDED),
-+                                                                       errmsg("too many INTO variables specified")));
-+                                              }
-+
-                                               tok = yylex();
-                                               switch(tok)
-                                               {
 @@ -2014,6 +2032,15 @@
                                plpgsql_dstring_append(&ds, yytext);
                                break;
        }
  
        expr = malloc(sizeof(PLpgSQL_expr) + sizeof(int) * nparams - sizeof(int));
-@@ -2085,6 +2112,15 @@
-                               while ((tok = yylex()) == ',')
-                               {
-+                                      /* Check for array overflow */
-+                                      if (nfields >= 1024)
-+                                      {
-+                                              plpgsql_error_lineno = plpgsql_scanner_lineno();
-+                                              ereport(ERROR,
-+                                                              (errcode(ERRCODE_PROGRAM_LIMIT_EXCEEDED),
-+                                                               errmsg("too many INTO variables specified")));
-+                                      }
-+
-                                       tok = yylex();
-                                       switch(tok)
-                                       {
This page took 0.03929 seconds and 4 git commands to generate.