]> granicus.if.org Git - postgresql/commitdiff
Remove warning about automatic inclusion of sqlca.
authorPeter Eisentraut <peter_e@gmx.net>
Fri, 15 Feb 2002 17:46:57 +0000 (17:46 +0000)
committerPeter Eisentraut <peter_e@gmx.net>
Fri, 15 Feb 2002 17:46:57 +0000 (17:46 +0000)
src/interfaces/ecpg/preproc/pgc.l

index e3d4e8c4f300ed2940510a679f4edd460ffec30a..93f26c292ece011b284253e51731bb614d690aef 100644 (file)
@@ -12,7 +12,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/pgc.l,v 1.84 2002/01/10 10:42:54 meskes Exp $
+ *       $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/pgc.l,v 1.85 2002/02/15 17:46:57 petere Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -824,11 +824,6 @@ cppline                    {space}*#(.*\\{space})*.*
                          {}
                          yytext[i+1] = '\0';
 
-                         /* since version 2.9.0 sqlca.h is included
-                            automatically */
-                         if (strcmp(yytext, "sqlca") == 0)
-                               mmerror(PARSE_ERROR, ET_NOTICE, "sqlca.h is included automatically.");
-
                          yyin = NULL;
                          for (ip = include_paths; yyin == NULL && ip != NULL; ip = ip->next)
                          {