1. 07 Feb, 2006 3 commits
    • Peter Eisentraut's avatar
      50610ef8
    • Bruce Momjian's avatar
      Split up wal-logging items: · 04a942e3
      Bruce Momjian authored
      < * Allow control over which tables are WAL-logged [walcontrol]
      > * Allow WAL logging to be turned off for a table, but the table
      >   might be dropped or truncated during crash recovery [walcontrol]
      <   commit.  To do this, only a single writer can modify the table, and
      <   writes must happen only on new pages.  Readers can continue accessing
      <   the table.  This would affect COPY, and perhaps INSERT/UPDATE too.
      <   Another option is to avoid transaction logging entirely and truncate
      <   or drop the table on crash recovery.  These should be implemented
      <   using ALTER TABLE, e.g. ALTER TABLE PERSISTENCE [ DROP | TRUNCATE |
      <   STABLE | DEFAULT ].  Tables using non-default logging should not use
      <   referential integrity with default-logging tables, and tables using
      <   stable logging probably can not have indexes.  One complexity is
      <   the handling of indexes on TOAST tables.
      >   commit.  This should be implemented using ALTER TABLE, e.g. ALTER
      >   TABLE PERSISTENCE [ DROP | TRUNCATE | DEFAULT ].  Tables using
      >   non-default logging should not use referential integrity with
      >   default-logging tables.  A table without dirty buffers during a
      >   crash could perhaps avoid the drop/truncate.
      >
      > * Allow WAL logging to be turned off for a table, but the table would
      >   avoid being truncated/dropped [walcontrol]
      >
      >   To do this, only a single writer can modify the table, and writes
      >   must happen only on new pages so the new pages can be removed during
      >   crash recovery.  Readers can continue accessing the table.  Such
      >   tables probably cannot have indexes.  One complexity is the handling
      >   of indexes on TOAST tables.
      04a942e3
    • Bruce Momjian's avatar
      Fix HTML alignment in PQprint. · 8bf47f45
      Bruce Momjian authored
      Christoph Zwerschke
      8bf47f45
  2. 06 Feb, 2006 3 commits
  3. 05 Feb, 2006 4 commits
  4. 04 Feb, 2006 11 commits
  5. 03 Feb, 2006 6 commits
  6. 02 Feb, 2006 1 commit
  7. 01 Feb, 2006 9 commits
  8. 31 Jan, 2006 3 commits
    • Tom Lane's avatar
    • Tom Lane's avatar
      Restructure planner's handling of inheritance. Rather than processing · 8a1468af
      Tom Lane authored
      inheritance trees on-the-fly, which pretty well constrained us to considering
      only one way of planning inheritance, expand inheritance sets during the
      planner prep phase, and build a side data structure that can be consulted
      later to find which RTEs are members of which inheritance sets.  As proof of
      concept, use the data structure to plan joins against inheritance sets more
      efficiently: we can now use indexes on the set members in inner-indexscan
      joins.  (The generated plans could be improved further, but it'll take some
      executor changes.)  This data structure will also support handling UNION ALL
      subqueries in the same way as inheritance sets, but that aspect of it isn't
      finished yet.
      8a1468af
    • Michael Meskes's avatar
      097df388