1. 19 Mar, 2000 2 commits
    • 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
  6. 14 Mar, 2000 3 commits
    • Tom Lane's avatar
      Repair unintentional damage to MULTIBYTE code. · a50f2fd7
      Tom Lane authored
      a50f2fd7
    • Tom Lane's avatar
      Cache fmgr lookup data for index's getnext() function in IndexScanDesc, · 34235a29
      Tom Lane authored
      so that the fmgr lookup only has to happen once per index scan and not
      once per tuple.  Seems to save 5% or so of CPU time for an indexscan.
      34235a29
    • Thomas G. Lockhart's avatar
      Implement column aliases on views "CREATE VIEW name (collist)". · 64568100
      Thomas G. Lockhart authored
      Implement TIME WITH TIME ZONE type (timetz internal type).
      Remap length() for character strings to CHAR_LENGTH() for SQL92
       and to remove the ambiguity with geometric length() functions.
      Keep length() for character strings for backward compatibility.
      Shrink stored views by removing internal column name list from visible rte.
      Implement min(), max() for time and timetz data types.
      Implement conversion of TIME to INTERVAL.
      Implement abs(), mod(), fac() for the int8 data type.
      Rename some math functions to generic names:
       round(), sqrt(), cbrt(), pow(), etc.
      Rename NUMERIC power() function to pow().
      Fix int2 factorial to calculate result in int4.
      Enhance the Oracle compatibility function translate() to work with string
       arguments (from Edwin Ramirez).
      Modify pg_proc system table to remove OID holes.
      64568100