1. 21 4月, 2013 5 次提交
    • T
      Fix longstanding race condition in plancache.c. · ac63dca6
      Tom Lane 提交于
      When creating or manipulating a cached plan for a transaction control
      command (particularly ROLLBACK), we must not perform any catalog accesses,
      since we might be in an aborted transaction.  However, plancache.c busily
      saved or examined the search_path for every cached plan.  If we were
      unlucky enough to do this at a moment where the path's expansion into
      schema OIDs wasn't already cached, we'd do some catalog accesses; and with
      some more bad luck such as an ill-timed signal arrival, that could lead to
      crashes or Assert failures, as exhibited in bug #8095 from Nachiket Vaidya.
      Fortunately, there's no real need to consider the search path for such
      commands, so we can just skip the relevant steps when the subject statement
      is a TransactionStmt.  This is somewhat related to bug #5269, though the
      failure happens during initial cached-plan creation rather than
      revalidation.
      
      This bug has been there since the plan cache was invented, so back-patch
      to all supported branches.
      ac63dca6
    • B
      Reorder some 9.3 release item entries · 61b96234
      Bruce Momjian 提交于
      More to go.
      61b96234
    • B
      Push 9.3 release SGML file · 22f956f5
      Bruce Momjian 提交于
      Forgotten in previous commit.
      22f956f5
    • B
      Publish draft 9.3 release notes · e9a35c20
      Bruce Momjian 提交于
      No links added yet.
      e9a35c20
    • P
      doc: Mention SATA alongside IDE for Linux · 540ec93e
      Peter Eisentraut 提交于
      suggested by Jov
      540ec93e
  2. 20 4月, 2013 3 次提交
  3. 19 4月, 2013 2 次提交
  4. 18 4月, 2013 1 次提交
  5. 17 4月, 2013 3 次提交
  6. 16 4月, 2013 6 次提交
  7. 14 4月, 2013 2 次提交
    • P
      Add serial comma · e08fdf13
      Peter Eisentraut 提交于
      e08fdf13
    • P
      pg_ctl: Add idempotent option · 87306184
      Peter Eisentraut 提交于
      This changes the behavior of the start and stop actions to exit
      successfully if the server was already started or stopped.
      
      This changes the default behavior of the start action:  Before, if the
      server was already running, it would print a message and succeed.  Now,
      that situation will result in an error.  When running in idempotent
      mode, no message is printed and pg_ctl exits successfully.
      
      It was considered to just make the idempotent behavior the default and
      only option, but pg_upgrade needs the old behavior.
      87306184
  8. 13 4月, 2013 3 次提交
    • P
      Fix sporadic rebuilds for .pc files · ba66752d
      Peter Eisentraut 提交于
      The build of .pc (pkg-config) files depends on all makefiles in use, and
      in dependency tracking mode, the previous coding ended up including
      /dev/null as a makefile.  Apparently, on some platforms the modification
      time of /dev/null changes sporadically, and so the .pc files would end
      up being rebuilt every so often.  Fix that by changing the makefile code
      to do without using /dev/null.
      ba66752d
    • T
      Clean up the mess around EXPLAIN and materialized views. · 0b337904
      Tom Lane 提交于
      Revert the matview-related changes in explain.c's API, as per recent
      complaint from Robert Haas.  The reason for these appears to have been
      principally some ill-considered choices around having intorel_startup do
      what ought to be parse-time checking, plus a poor arrangement for passing
      it the view parsetree it needs to store into pg_rewrite when creating a
      materialized view.  Do the latter by having parse analysis stick a copy
      into the IntoClause, instead of doing it at runtime.  (On the whole,
      I seriously question the choice to represent CREATE MATERIALIZED VIEW as a
      variant of SELECT INTO/CREATE TABLE AS, because that means injecting even
      more complexity into what was already a horrid legacy kluge.  However,
      I didn't go so far as to rethink that choice ... yet.)
      
      I also moved several error checks into matview parse analysis, and
      made the check for external Params in a matview more accurate.
      
      In passing, clean things up a bit more around interpretOidsOption(),
      and fix things so that we can use that to force no-oids for views,
      sequences, etc, thereby eliminating the need to cons up "oids = false"
      options when creating them.
      
      catversion bump due to change in IntoClause.  (I wonder though if we
      really need readfuncs/outfuncs support for IntoClause anymore.)
      0b337904
    • B
      pgindent: improve error messages · 5003f94f
      Bruce Momjian 提交于
      per suggestion from Gurjeet Singh
      5003f94f
  9. 12 4月, 2013 5 次提交
  10. 11 4月, 2013 8 次提交
  11. 10 4月, 2013 2 次提交