1. 19 Mar, 2000 5 commits
    • Tom Lane's avatar
      transformExpr() did the Wrong Thing if applied to a SubLink node that · a73b7561
      Tom Lane authored
      had already been transformed.  This led to failure in examples like
      UPDATE table SET fld = (SELECT ...).  Repair this, and revise the
      comments to explain that transformExpr has to be robust against this
      condition.  Someday we might want to fix the callers so that
      transformExpr is never invoked on its own output, but that someday
      is not today.
      a73b7561
    • Bruce Momjian's avatar
      it seems in the beta2 release DBUSERID in pg_dumpall is the _name_ of the · 52d02657
      Bruce Momjian authored
      user, so it doesn't need to be translated from the number to the name.
      
      also ``create database ...'' does not take numbers for the encoding, so
      the ENCODING variable does not need to be translated to a number, but left
      as the text representation.  a patch is supplied to make the changes i
      have found to work.  i was successful dumping and reloading my database
      after these changes.
      -
      
      John M. Flinchbaugh
      52d02657
    • Tom Lane's avatar
      Fix incorrect implementation of log(x) for numeric, as well as · cfa929f6
      Tom Lane authored
      incorrect descriptions of a couple of log-related functions.
      I will not force an initdb for this, but log() on a numeric won't
      work until you do one...
      cfa929f6
    • Tom Lane's avatar
      Another go-round with resolution of ambiguous functions and operators. · 440b0fea
      Tom Lane authored
      In function parsing, try for an actual function of the given name and
      input types before trying to interpret the function call as a type
      coercion request, rather than after.  Before, a function that had the
      same name as a type and operated on a binary-compatible type wouldn't
      get invoked.  Also, cross-pollinate between func_select_candidates and
      oper_select_candidates to ensure that they use as nearly the same
      resolution rules as possible.  A few other minor code cleanups too.
      440b0fea
    • Tom Lane's avatar
      In can_coerce_type, verify that a possible type-coercion function · f11d253e
      Tom Lane authored
      actually returns the type it is named for.
      f11d253e
  2. 18 Mar, 2000 8 commits
  3. 17 Mar, 2000 4 commits
  4. 16 Mar, 2000 14 commits
  5. 15 Mar, 2000 9 commits