1. 12 7月, 2004 2 次提交
    • T
      Move TablespaceCreateDbspace() call into smgrcreate(), which is where it · 8801110b
      Tom Lane 提交于
      probably should have been to begin with; this is to cover cases like
      needing to recreate the per-db directory during WAL replay.
      Also, fix heap_create to force pg_class.reltablespace to be zero instead
      of the database's default tablespace; this makes the world safe for
      CREATE DATABASE to handle all tables in the default tablespace alike,
      as per previous discussion.  And force pg_class.reltablespace to zero
      when creating a relation without physical storage (eg, a view); this
      avoids possibly having dangling references in this column after a
      subsequent DROP TABLESPACE.
      8801110b
    • T
      Rename XLOG_BTREE_NEWPAGE xlog record type into XLOG_HEAP_NEWPAGE, and · 94d4d240
      Tom Lane 提交于
      shift support code into heapam.c accordingly.  This is in service of
      soon-to-be-committed ALTER TABLE SET TABLESPACE code that will want to
      use this same record type for both heaps and indexes.
      
      Theoretically I should have forced initdb for this, but in practice there
      is no change in xlog contents because CVS tip will never really emit this
      record type anyhow...
      94d4d240
  2. 11 7月, 2004 14 次提交
  3. 10 7月, 2004 2 次提交
  4. 07 7月, 2004 9 次提交
  5. 06 7月, 2004 5 次提交
  6. 05 7月, 2004 4 次提交
  7. 04 7月, 2004 2 次提交
  8. 03 7月, 2004 2 次提交
    • T
    • T
      Add missing operators of the form interval-plus-datetime, as required for · e34082ee
      Tom Lane 提交于
      better SQL compliance in this area, per recent discussion.  Mark related
      operators as commutators where possible.  (The system doesn't actually care
      about commutator marking for operators not returning boolean, at the moment,
      but this seems forward-thinking and besides it made it easier to verify
      that we hadn't missed any.)
      Also, remove interval-minus-time and interval-minus-timetz operators.
      I'm not sure how these got in, but they are nonstandard and had very
      obviously broken behavior.  (minus is not commutative in anyone's book.)
      I doubt anyone had ever used 'em, because we'd surely have gotten a bug
      report about it if so.
      e34082ee