1. 22 Dec, 1999 4 commits
  2. 21 Dec, 1999 7 commits
    • Jan Wieck's avatar
      3e991585
    • Bruce Momjian's avatar
      The first fix is to allow an input file with a relative path and without · b57b0e04
      Bruce Momjian authored
      a ".pgc " extension. The second patch fixes a coredump when there is
      more than one input file (in that case, cur and types were not set to
      NULL before processing the second f ile)
      
      The patch below modifies the accepted grammar of ecpg to accept
      
       FETCH [direction] [amount] cursor name
      
      i.e. the IN|FROM clause becomes optional (as in Oracle and Informix).
      This removes the incompatibility mentioned in section "Porting From
      Other RDBMS Packages" p169, PostgreSQL Programmer's Guide. The grammar
      is modified in such a way as to avoid shift/reduce conflicts. It does
      not accept the statement "EXEC SQL FETCH;" anymore, as the old grammar
      did (this seems to be a bug of the old grammar anyway).
      
      This patch cleans up the handling of space characters in the scanner;
      some patte rns require \n to be in {space}, some do not. A second fix is
      the handling of cpp continuati on lines; the old pattern did not match
      these. The parser is patched to fix an off-by-one error in the #line
      directives. The pa rser is also enhanced to report the correct location
      of errors in declarations in the "E XEC SQL DECLARE SECTION". Finally,
      some right recursions in the parser were replaced by  left-recursions.
      
      
      This patch adds preprocessor directives to ecpg; in particular
      
      EXEC SQL IFDEF, EXEC SQL IFNDEF, EXEC SQL ELSE, EXEC SQL ELIF and EXEC SQL ENDIF
      
      "EXEC SQL IFDEF" is used with defines made with "EXEC SQL DEFINE" and
      defines, specified on the command line with -D. Defines, specified on
      the command line are persistent across multiple input files. Defines can
      be nested up to a maximum level of 128 (see patch). There is a fair
      amount of error checking to make sure directives are matched properly. I
      need preprocessor directives for porting code, that is written for an
      Informix database, to a PostgreSQL database, while maintaining
      compatibility with the original code. I decided not to extend the
      already large ecpg grammar. Everything is done in the scanner by adding
      some states, e.g. to skip all input except newlines and directives. The
      preprocessor commands are compatible with Informix. Oracle uses a cpp
      replacement.
      
      Rene Hogendoorn
      b57b0e04
    • Bruce Momjian's avatar
      Update developers faq in main tree. · a0fa26be
      Bruce Momjian authored
      a0fa26be
    • Bruce Momjian's avatar
      This patch will avoid SIGFPE on some geo functions , if PostgreSQL is compiled · bb50fb51
      Bruce Momjian authored
      with DEC C.
      
      DEC C doesn't handle double values greater than DBL_MAX, but some
      PostgreSQL geo functions assign greater than DBL_MAX values to some vars
      in some special cases - that couses SIGFPE. I dunno if that is the only place
      to fix to work well with DEC C.
      
      Kirill Nosov.
      bb50fb51
    • Bruce Momjian's avatar
      autoconf · 04c78e2e
      Bruce Momjian authored
      04c78e2e
    • Bruce Momjian's avatar
      Clean up qnx template finding. · 6a554a07
      Bruce Momjian authored
      6a554a07
    • Jan Wieck's avatar
      Added empty TOASTER files and corrected some minor glitches · e2aef496
      Jan Wieck authored
      in regression tests.
      
      Jan
      e2aef496
  3. 20 Dec, 1999 10 commits
  4. 18 Dec, 1999 9 commits
  5. 17 Dec, 1999 10 commits