1. 29 May, 2005 4 commits
    • Tom Lane's avatar
      Remove typeidIsValid() checks in can_coerce_type(). These checks · d66daabe
      Tom Lane authored
      were pretty expensive and I believe the case they were put in to
      defend against can no longer arise, now that we have dependency checks
      to prevent deletion of a type entry that is still referenced.  Certainly
      the example given in the CVS log entry can't happen anymore.
      Since this was the only use of typeidIsValid(), remove the routine too.
      d66daabe
    • Tom Lane's avatar
      expandRTE and get_rte_attribute_type mistakenly always imputed typmod -1 · bbc04831
      Tom Lane authored
      to columns of an RTE that was a function returning RECORD with a column
      definition list.  Apparently no one has tried to use non-default typmod
      with a function returning RECORD before.
      bbc04831
    • Tom Lane's avatar
      Modify hash_search() API to prevent future occurrences of the error · e92a8827
      Tom Lane authored
      spotted by Qingqing Zhou.  The HASH_ENTER action now automatically
      fails with elog(ERROR) on out-of-memory --- which incidentally lets
      us eliminate duplicate error checks in quite a bunch of places.  If
      you really need the old return-NULL-on-out-of-memory behavior, you
      can ask for HASH_ENTER_NULL.  But there is now an Assert in that path
      checking that you aren't hoping to get that behavior in a palloc-based
      hash table.
      Along the way, remove the old HASH_FIND_SAVE/HASH_REMOVE_SAVED actions,
      which were not being used anywhere anymore, and were surely too ugly
      and unsafe to want to see revived again.
      e92a8827
    • Bruce Momjian's avatar
  2. 28 May, 2005 3 commits
    • Tom Lane's avatar
      Bgwriter should PANIC if it runs out of memory for pending-fsyncs · f8a05160
      Tom Lane authored
      hash table.  This is a pretty unlikely scenario, since the table
      should be tiny, but we can't guarantee continued correct operation
      if it does occur.  Spotted by Qingqing Zhou.
      f8a05160
    • Tom Lane's avatar
      get_expr_result_type has to be prepared to pull type information · 6d9ee031
      Tom Lane authored
      from a RECORD Const node, because that's what it may be faced with
      after constant-folding of a function returning RECORD.  Per example
      from Michael Fuhr.
      6d9ee031
    • Bruce Momjian's avatar
      Remove: · 70f32049
      Bruce Momjian authored
      <
      < * Add XML output to pg_dump and COPY
      <
      <   We already allow XML to be stored in the database, and XPath queries
      <   can be used on that data using /contrib/xml2. It also supports XSLT
      <   transformations.
      70f32049
  3. 27 May, 2005 10 commits
  4. 26 May, 2005 9 commits
  5. 25 May, 2005 4 commits
  6. 24 May, 2005 10 commits