1. 20 Apr, 2013 5 commits
  2. 19 Apr, 2013 4 commits
  3. 17 Apr, 2013 4 commits
  4. 16 Apr, 2013 4 commits
  5. 15 Apr, 2013 2 commits
  6. 14 Apr, 2013 2 commits
    • Peter Eisentraut's avatar
      Add serial comma · e08fdf13
      Peter Eisentraut authored
      e08fdf13
    • Peter Eisentraut's avatar
      pg_ctl: Add idempotent option · 87306184
      Peter Eisentraut authored
      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
  7. 13 Apr, 2013 1 commit
    • Peter Eisentraut's avatar
      Fix sporadic rebuilds for .pc files · ba66752d
      Peter Eisentraut authored
      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
  8. 12 Apr, 2013 6 commits
    • Tom Lane's avatar
      Clean up the mess around EXPLAIN and materialized views. · 0b337904
      Tom Lane authored
      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
    • Bruce Momjian's avatar
      pgindent: improve error messages · 5003f94f
      Bruce Momjian authored
      per suggestion from Gurjeet Singh
      5003f94f
    • Bruce Momjian's avatar
      pgindent: fix downloading of BSD indent binary · 8daa4e96
      Bruce Momjian authored
      Also fix accessing pgentab binary and tar.
      
      Gurjeet Singh
      8daa4e96
    • Robert Haas's avatar
      sepgsql: Enforce db_procedure:{execute} permission. · f8a54e93
      Robert Haas authored
      To do this, we add an additional object access hook type,
      OAT_FUNCTION_EXECUTE.
      
      KaiGai Kohei
      f8a54e93
    • Robert Haas's avatar
      Minor wording corrections for object-access hook stuff. · d017bf41
      Robert Haas authored
      KaiGai Kohei
      d017bf41
    • Robert Haas's avatar
      sepgql: Use getObjectIdentity rather than getObjectDescription. · b620fdab
      Robert Haas authored
      KaiGai Kohei, based on a suggestion from Álvaro Herrera
      b620fdab
  9. 11 Apr, 2013 4 commits
  10. 10 Apr, 2013 7 commits
  11. 09 Apr, 2013 1 commit
    • Kevin Grittner's avatar
      Create a distinction between a populated matview and a scannable one. · 52e6e33a
      Kevin Grittner authored
      The intent was that being populated would, long term, be just one
      of the conditions which could affect whether a matview was
      scannable; being populated should be necessary but not always
      sufficient to scan the relation.  Since only CREATE and REFRESH
      currently determine the scannability, names and comments
      accidentally conflated these concepts, leading to confusion.
      
      Also add missing locking for the SQL function which allows a
      test for scannability, and fix a modularity violatiion.
      
      Per complaints from Tom Lane, although its not clear that these
      will satisfy his concerns.  Hopefully this will at least better
      frame the discussion.
      52e6e33a