Skip to content
Snippets Groups Projects
  1. Apr 28, 2013
  2. Apr 27, 2013
    • Tom Lane's avatar
      Incidental cleanup of matviews code. · 5194024d
      Tom Lane authored
      Move checking for unscannable matviews into ExecOpenScanRelation, which is
      a better place for it first because the open relation is already available
      (saving a relcache lookup cycle), and second because this eliminates the
      problem of telling the difference between rangetable entries that will or
      will not be scanned by the query.  In particular we can get rid of the
      not-terribly-well-thought-out-or-implemented isResultRel field that the
      initial matviews patch added to RangeTblEntry.
      
      Also get rid of entirely unnecessary scannability check in the rewriter,
      and a bogus decision about whether RefreshMatViewStmt requires a parse-time
      snapshot.
      
      catversion bump due to removal of a RangeTblEntry field, which changes
      stored rules.
      5194024d
    • Peter Eisentraut's avatar
      Improve message about failed transaction log archiving · f5d576c6
      Peter Eisentraut authored
      The old phrasing appeared to imply that the failure was terminal.
      Improve that by indicating that archiving will be tried again later.
      f5d576c6
    • Peter Eisentraut's avatar
      Update config.guess and config.sub · b53b603c
      Peter Eisentraut authored
      b53b603c
  3. Apr 26, 2013
    • Tom Lane's avatar
      Fix collation assignment for aggregates with ORDER BY. · 41a2760f
      Tom Lane authored
      ORDER BY expressions were being treated the same as regular aggregate
      arguments for purposes of collation determination, but really they should
      not affect the aggregate's collation at all; only collations of the
      aggregate's regular arguments should affect it.
      
      In many cases this mistake would lead to incorrectly throwing a "collation
      conflict" error; but in some cases the corrected code will silently assign
      a different collation to the aggregate than before, for example
      	agg(foo ORDER BY bar COLLATE "x")
      which will now use foo's collation rather than "x" for the aggregate.
      Given this risk and the lack of field complaints about the issue, it
      doesn't seem prudent to back-patch.
      
      In passing, rearrange code in assign_collations_walker so that we don't
      need multiple copies of the standard logic for computing collation of a
      node with children.  (Previously, CaseExpr duplicated the standard logic,
      and we would have needed a third copy for Aggref without this change.)
      
      Andrew Gierth and David Fetter
      41a2760f
    • Joe Conway's avatar
      Ensure that user created rows in extension tables get dumped if the table is... · b42ea798
      Joe Conway authored
      Ensure that user created rows in extension tables get dumped if the table is explicitly requested, either with a -t/--table switch of the table itself, or by -n/--schema switch of the schema containing the extension table. Patch reviewed by Vibhor Kumar and Dimitri Fontaine.
      
      Backpatched to 9.1 when the extension management facility was added.
      b42ea798
    • Robert Haas's avatar
      libpq: Fix a few bits that didn't get the memo about COPY BOTH. · 5eb7c4d3
      Robert Haas authored
      There's probably no real bug here at present, so not backpatching.
      But it seems good to make these bits consistent with the rest of
      libpq, so as to avoid future surprises.
      
      Patch by me.  Review by Tom Lane.
      5eb7c4d3
  4. Apr 25, 2013
  5. Apr 24, 2013
  6. Apr 23, 2013
  7. Apr 22, 2013
  8. Apr 21, 2013
  9. Apr 20, 2013
  10. Apr 19, 2013
Loading