Not sure why parser() was still doing clearerr(stdin) ... but it's
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 5 May 2003 01:59:02 +0000 (01:59 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 5 May 2003 01:59:02 +0000 (01:59 +0000)
*got* to be pointless.

src/backend/parser/parser.c

index 37436d30079c92e51125b1d16cfe85b64e9d0c52..5fc75365e6cd9f71b616ea2a9fd57786d27f247e 100644 (file)
@@ -14,7 +14,7 @@
  * Portions Copyright (c) 1994, Regents of the University of California
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/parser/parser.c,v 1.57 2003/04/29 22:13:10 tgl Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/parser/parser.c,v 1.58 2003/05/05 01:59:02 tgl Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -55,7 +55,6 @@ raw_parser(const char *str)
    yyresult = yyparse();
 
    scanner_finish();
-   clearerr(stdin);
 
    if (yyresult)               /* error */
        return NIL;