1. 24 Feb, 2000 8 commits
  2. 23 Feb, 2000 3 commits
    • Bruce Momjian's avatar
      Fix plpsql for bsdi. · f40c5062
      Bruce Momjian authored
      f40c5062
    • Michael Meskes's avatar
      *** empty log message *** · 9f74608f
      Michael Meskes authored
      9f74608f
    • Bruce Momjian's avatar
      1. miscadmin.h needs to include sys/types.h for a definition of pid_t · c969e266
      Bruce Momjian authored
      2. Regression tests fail for types int2 and int4 (which can easily be
      fixed by adding entries to resultmap) aswell as float8 and geometry,
      where floating point numbers appear to be rounded a little differently
      than in your expected results (besides that I also need the positive
      zeros file). I'm including a patch for the first 2, but I don't know
      whether the latter two are actually a bug in postgres or a bug in the
      OS or even allowed difference. I'm including my results for reference.
      
      Rolf Grossmann
      c969e266
  3. 22 Feb, 2000 7 commits
  4. 21 Feb, 2000 15 commits
  5. 20 Feb, 2000 7 commits
    • Tom Lane's avatar
      Further cleanups for type coercion: treat the locution typename(argument) · 07c495f5
      Tom Lane authored
      as representing a type coercion request in more cases than we did before.
      It will work now whenever no underlying function is required, ie if the
      coercion is binary-compatible or if the argument is a previously untyped
      string constant.  Otherwise, you still need a real function to exist.
      07c495f5
    • Tom Lane's avatar
      Create a new expression node type RelabelType, which exists solely to · 57b30e8e
      Tom Lane authored
      represent the result of a binary-compatible type coercion.  At runtime
      it just evaluates its argument --- but during type resolution, exprType
      will pick up the output type of the RelabelType node instead of the type
      of the argument.  This solves some longstanding problems with dropped
      type coercions, an example being 'select now()::abstime::int4' which
      used to produce date-formatted output, not an integer, because the
      coercion to int4 was dropped on the floor.
      57b30e8e
    • Peter Eisentraut's avatar
      bd8e0714
    • Peter Eisentraut's avatar
      Moved psql \eset and \eshow to \encoding · 718bb2cc
      Peter Eisentraut authored
      Improved psql's Ctrl-C handling
      Fixed configure test for sigsetjmp that now even recognizes it if it's a macro
      718bb2cc
    • Tom Lane's avatar
      Fix broken list-slinging logic in func_select_candidate and · 5253c518
      Tom Lane authored
      agg_select_candidate, which could cause them to keep more candidates
      than they should and thus fail to select a single match.  I had
      previously fixed the identical bug in oper_select_candidate, but
      didn't realize that the same error was repeated over here.
      Also, repair func_select_candidate's curious notion that it could
      scribble on the input type-OID vector.  That was causing failure to
      apply necessary type coercion later on, leading to malfunction of
      examples such as select date('now').
      5253c518
    • Tom Lane's avatar
      Even after the great date/time consolidation, TypeCategory() was still · f4d108a2
      Tom Lane authored
      a few bricks shy of a load concerning knowing all the date/time types.
      This is real bad because it interferes with func_select_candidate()'s
      willingness to disambiguate functions --- func_select_candidate() will
      punt unless all the available choices have the same type category.
      I think this whole mechanism needs redesigned, but in the meantime
      this is a needed patch.
      f4d108a2
    • Tom Lane's avatar
      Reduce proc_exit(1) to proc_exit(0) for errors detected in backend · 4467194b
      Tom Lane authored
      command line processing.  As it stood, a bogus PGOPTIONS value from
      a client would force a database system restart.  Not bad as a denial-
      of-service attack...
      4467194b