1. 12 Aug, 2005 1 commit
    • Tom Lane's avatar
      Solve the problem of OID collisions by probing for duplicate OIDs · 721e5378
      Tom Lane authored
      whenever we generate a new OID.  This prevents occasional duplicate-OID
      errors that can otherwise occur once the OID counter has wrapped around.
      Duplicate relfilenode values are also checked for when creating new
      physical files.  Per my recent proposal.
      721e5378
  2. 11 Aug, 2005 7 commits
  3. 10 Aug, 2005 4 commits
  4. 09 Aug, 2005 10 commits
  5. 08 Aug, 2005 6 commits
  6. 07 Aug, 2005 2 commits
  7. 06 Aug, 2005 1 commit
    • Tom Lane's avatar
      COPY performance improvements. Avoid calling CopyGetData for each input · 9b29f9f3
      Tom Lane authored
      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
  8. 05 Aug, 2005 2 commits
  9. 04 Aug, 2005 1 commit
    • Tom Lane's avatar
      ALTER TABLE OWNER must change the ownership of the table's rowtype too. · 33f5bf97
      Tom Lane authored
      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
  10. 03 Aug, 2005 1 commit
    • Bruce Momjian's avatar
      · e48b28b6
      Bruce Momjian authored
      Done:
      
      < * Prevent inherited tables from expanding temporary subtables of other
      > * -Prevent inherited tables from expanding temporary subtables of other
      e48b28b6
  11. 02 Aug, 2005 5 commits