1. 12 8月, 2005 3 次提交
  2. 11 8月, 2005 8 次提交
  3. 10 8月, 2005 4 次提交
    • T
      Extend pg_config to be able to report the build-time values of CC, · cbd015d7
      Tom Lane 提交于
      CPPFLAGS, CFLAGS, CFLAGS_SL, LDFLAGS, LDFLAGS_SL, and LIBS.  Change it
      so that invoking pg_config with no arguments reports all available
      information, rather than just giving an error message.  Per discussion.
      cbd015d7
    • T
      Make backends that are reading the pgstats file verify each backend PID · c7bba5e2
      Tom Lane 提交于
      against the PGPROC array.  Anything in the file that isn't in PGPROC
      gets rejected as being a stale entry.  This should solve complaints about
      stale entries in pg_stat_activity after a BETERM message has been dropped
      due to overload.
      c7bba5e2
    • B
      Combine entries: · f80cf690
      Bruce Momjian 提交于
      <   inheritance
      < * Allow enable_constraint_exclusion to work for UPDATE and DELETE queries
      >   inheritance, and allow it to work for UPDATE and DELETE queries
      f80cf690
    • B
      Done: · 20e26447
      Bruce Momjian 提交于
      > * -Add C code on Unix to copy directories for use in creating new databases
      20e26447
  4. 09 8月, 2005 10 次提交
  5. 08 8月, 2005 4 次提交
  6. 07 8月, 2005 1 次提交
    • T
      COPY performance improvements. Avoid calling CopyGetData for each input · 9b29f9f3
      Tom Lane 提交于
      character, tighten the inner loops of CopyReadLine and CopyReadAttribute,
      arrange to parse out all the attributes of a line in just one call instead
      of one CopyReadAttribute call per attribute, be smarter about which client
      encodings require slow pg_encoding_mblen() loops.  Also, clean up the
      mishmash of static variables and overly-long parameter lists in favor of
      passing around a single CopyState struct containing all the state data.
      Original patch by Alon Goldshuv, reworked by Tom Lane.
      9b29f9f3
  7. 05 8月, 2005 2 次提交
  8. 04 8月, 2005 1 次提交
    • T
      ALTER TABLE OWNER must change the ownership of the table's rowtype too. · 33f5bf97
      Tom Lane 提交于
      This was not especially critical before, but it is now that we track
      ownership dependencies --- the dependency for the rowtype *must* shift
      to the new owner.  Spotted by Bernd Helmle.
      Also fix a problem introduced by recent change to allow non-superusers
      to do ALTER OWNER in some cases: if the table had a toast table, ALTER
      OWNER failed *even for superusers*, because the test being applied would
      conclude that the new would-be owner had no create rights on pg_toast.
      A side-effect of the fix is to disallow changing the ownership of indexes
      or toast tables separately from their parent table, which seems a good
      idea on the whole.
      33f5bf97
  9. 03 8月, 2005 5 次提交
    • B
      · e48b28b6
      Bruce Momjian 提交于
      Done:
      
      < * Prevent inherited tables from expanding temporary subtables of other
      > * -Prevent inherited tables from expanding temporary subtables of other
      e48b28b6
    • T
      Tweak BgBufferSync() so that a persistent write error on a dirty buffer · 6eac4e69
      Tom Lane 提交于
      doesn't block the bgwriter from making progress writing out other buffers.
      This was a hard problem in the context of the ARC/2Q design, but it's
      trivial in the context of clock sweep ... just advance the sweep counter
      before we try to write not after.
      6eac4e69
    • T
      Prevent planner from including temp tables of other backends when expanding · 688784f6
      Tom Lane 提交于
      an inheritance tree.  Per recent discussions.
      688784f6
    • T
      Clean up CREATE DATABASE processing to make it more robust and get rid · 558730ac
      Tom Lane 提交于
      of special case for Windows port.  Put a PG_TRY around most of createdb()
      to ensure that we remove copied subdirectories on failure, even if the
      failure happens while creating the pg_database row.  (I think this explains
      Oliver Siegmar's recent report.)  Having done that, there's no need for
      the fragile assumption that copydir() mustn't ereport(ERROR), so simplify
      its API.  Eliminate the old code that used system("cp ...") to copy
      subdirectories, in favor of using copydir() on all platforms.  This not
      only should allow much better error reporting, but allows us to fsync
      the created files before trusting that the copy has succeeded.
      558730ac
    • T
      Code and docs review for pg_column_size() patch. · 0001e98d
      Tom Lane 提交于
      0001e98d
  10. 02 8月, 2005 2 次提交