1. 31 5月, 2005 2 次提交
  2. 30 5月, 2005 15 次提交
  3. 29 5月, 2005 3 次提交
    • T
      Modify hash_search() API to prevent future occurrences of the error · e92a8827
      Tom Lane 提交于
      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
    • B
    • T
      Bgwriter should PANIC if it runs out of memory for pending-fsyncs · f8a05160
      Tom Lane 提交于
      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
  4. 28 5月, 2005 8 次提交
    • T
      get_expr_result_type has to be prepared to pull type information · 6d9ee031
      Tom Lane 提交于
      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
    • B
      Remove: · 70f32049
      Bruce Momjian 提交于
      <
      < * 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
    • T
      Arrange to cache fmgr lookup information for an index's access method · 32e8fc4a
      Tom Lane 提交于
      routines in the index's relcache entry, instead of doing a fresh fmgr_info
      on every index access.  We were already doing this for the index's opclass
      support functions; not sure why we didn't think to do it for the AM
      functions too.  This supersedes the former method of caching (only)
      amgettuple in indexscan scan descriptors; it's an improvement because the
      function lookup can be amortized across multiple statements instead of
      being repeated for each statement.  Even though lookup for builtin
      functions is pretty cheap, this seems to drop a percent or two off some
      simple benchmarks.
      32e8fc4a
    • B
      Update Farsi FAQ. · dd67cf36
      Bruce Momjian 提交于
      Mahmoud Taghizadeh
      dd67cf36
    • B
      Add: · 42319310
      Bruce Momjian 提交于
      > * Consider sorting hash buckets so entries can be found using a binary
      >   search, rather than a linear scan
      > * In hash indexes, consider storing the hash value with or instead
      >   of the key itself
      42319310
    • B
      Add: · 770156e1
      Bruce Momjian 提交于
      > * Add the features of packages
      > 	o  Make private objects accessable only to objects in the same schema
      > 	o  Allow current_schema.objname to access current schema objects
      > 	o  Add session variables
      > 	o  Allow nested schemas
      770156e1
    • B
      Display only 9 subsecond digits instead of 10 for time values, for · d4b50caf
      Bruce Momjian 提交于
      consistency and to prevent rounding for days < 30.  Also round off all
      trailing zeros, rather than leaving an even number of digits.
      d4b50caf
    • B
      Re-order 'else' clause for clarity. · 5dafb69e
      Bruce Momjian 提交于
      5dafb69e
  5. 27 5月, 2005 6 次提交
  6. 26 5月, 2005 6 次提交