1. 15 6月, 2012 4 次提交
  2. 14 6月, 2012 16 次提交
    • R
      During transaction cleanup, release locks before deleting files. · cd800734
      Robert Haas 提交于
      There's no need to hold onto the locks until the files are needed,
      and by doing it this way, we reduce the impact on other backends who
      may be awaiting locks we hold.
      
      Noah Misch
      cd800734
    • R
      Add new function log_newpage_buffer. · 6cd015be
      Robert Haas 提交于
      When I implemented the ginbuildempty() function as part of
      implementing unlogged tables, I falsified the note in the header
      comment for log_newpage.  Although we could fix that up by changing
      the comment, it seems cleaner to add a new function which is
      specifically intended to handle this case.  So do that.
      6cd015be
    • R
      Remove misplaced sanity check from heap_create(). · a475c603
      Robert Haas 提交于
      Even when allow_system_table_mods is not set, we allow creation of any
      type of SQL object in pg_catalog, except for relations.  And you can
      get relations into pg_catalog, too, by initially creating them in some
      other schema and then moving them with ALTER .. SET SCHEMA.  So this
      restriction, which prevents relations (only) from being created in
      pg_catalog directly, is fairly pointless.  If we need a safety mechanism
      for this, it should be placed further upstream, so that it affects all
      SQL objects uniformly, and picks up both CREATE and SET SCHEMA.
      
      For now, just rip it out, per discussion with Tom Lane.
      a475c603
    • R
      Remove RELKIND_UNCATALOGED. · d2c86a1c
      Robert Haas 提交于
      This may have been important at some point in the past, but it no
      longer does anything useful.
      
      Review by Tom Lane.
      d2c86a1c
    • R
      Make \conninfo print SSL information. · 7582e0be
      Robert Haas 提交于
      Alastair Turner, per suggestion from Bruce Momjian.
      7582e0be
    • T
      Add 9.2 branch to git_changelog's list. · 80491a19
      Tom Lane 提交于
      80491a19
    • T
      Flesh out RELEASE_CHANGES instructions for branching in git. · f32609db
      Tom Lane 提交于
      We have this info in the wiki, but it should be here too.
      f32609db
    • T
      Stamp library minor versions for 9.3. · 357c5493
      Tom Lane 提交于
      This includes fixing the MSVC copy of ecpg/preproc's version info, which
      seems to have been overlooked repeatedly.  Can't we fix that so there are
      not two copies??
      357c5493
    • T
      Stamp HEAD as 9.3devel. · bed88fce
      Tom Lane 提交于
      Let the hacking begin ...
      bed88fce
    • T
      Revisit error message details for JSON input parsing. · 80edfd76
      Tom Lane 提交于
      Instead of identifying error locations only by line number (which could
      be entirely unhelpful with long input lines), provide a fragment of the
      input text too, placing this info in a new CONTEXT entry.  Make the
      error detail messages conform more closely to style guidelines, fix
      failure to expose some of them for translation, ensure compiler can
      check formats against supplied parameters.
      80edfd76
    • T
      Remove release note entry for reverted patch. · 0f0fba17
      Tom Lane 提交于
      0f0fba17
    • T
      Revert "Reduce checkpoints and WAL traffic on low activity database server" · b8b69d89
      Tom Lane 提交于
      This reverts commit 18fb9d8d.  Per
      discussion, it does not seem like a good idea to allow committed changes to
      go un-checkpointed indefinitely, as could happen in a low-traffic server;
      that makes us entirely reliant on the WAL stream with no redundancy that
      might aid data recovery in case of disk failure.
      
      This re-introduces the original problem of hot-standby setups generating a
      small continuing stream of WAL traffic even when idle, but there are other
      ways to address that without compromising crash recovery, so we'll revisit
      that issue in a future release cycle.
      b8b69d89
    • T
      Fix description of SQL-standard meaning of CREATE LOCAL TEMP TABLE. · 8b23db94
      Tom Lane 提交于
      I had this slightly wrong, as noted by Noah Misch.
      8b23db94
    • T
      Deprecate use of GLOBAL and LOCAL in temp table creation. · c3bc76bd
      Tom Lane 提交于
      Aside from adjusting the documentation to say that these are deprecated,
      we now report a warning (not an error) for use of GLOBAL, since it seems
      fairly likely that we might change that to request SQL-spec-compliant temp
      table behavior in the foreseeable future.  Although our handling of LOCAL
      is equally nonstandard, there is no evident interest in ever implementing
      SQL modules, and furthermore some other products interpret LOCAL as
      behaving the same way we do.  So no expectation of change and no warning
      for LOCAL; but it still seems a good idea to deprecate writing it.
      
      Noah Misch
      c3bc76bd
    • T
      Support Linux's oom_score_adj API as well as the older oom_adj API. · 93f4d7f8
      Tom Lane 提交于
      The simplest way to handle this is just to copy-and-paste the relevant
      code block in fork_process.c, so that's what I did. (It's possible that
      something more complicated would be useful to packagers who want to work
      with either the old or the new API; but at this point the number of such
      people is rapidly approaching zero, so let's just get the minimal thing
      done.)  Update relevant documentation as well.
      93f4d7f8
    • B
      In pg_upgrade, verify that the install user has the same oid on both · b9212e37
      Bruce Momjian 提交于
      clusters, and make sure the new cluster has no additional users.
      
      Backpatch to 9.1.
      b9212e37
  3. 13 6月, 2012 2 次提交
  4. 12 6月, 2012 5 次提交
    • R
      Mark JSON error detail messages for translation. · 36b7e3da
      Robert Haas 提交于
      Per gripe from Tom Lane.
      36b7e3da
    • R
      Copy-editing of release notes. · 99b3135e
      Robert Haas 提交于
      Remove a couple of items that were actually back-patched bug fixes.
      Add additional details to a couple of items which lacked a description.
      Improve attributions for a couple of items I was involved with.
      A few other miscellaneous corrections.
      99b3135e
    • T
      Ensure pg_ctl behaves sanely when data directory is not specified. · 51e61b04
      Tom Lane 提交于
      Commit aaa6e1de introduced multiple hazards
      in the case where pg_ctl is executed with neither a -D switch nor any
      PGDATA environment variable.  It would dump core on machines which are
      unforgiving about printf("%s", NULL), or failing that possibly give a
      rather unhelpful complaint about being unable to execute "postgres -C",
      rather than the logically prior complaint about not being told where the
      data directory is.
      
      Edmund Horner's report suggests that there is another, Windows-specific
      hazard here, but I'm not the person to fix that; it would in any case only
      be significant when trying to use a config-only PGDATA pointer.
      51e61b04
    • T
      Fix pg_dump output to a named tar-file archive. · bf0945e8
      Tom Lane 提交于
      "pg_dump -Ft -f filename ..." got broken by my recent commit
      4317e024, which I fear I only tested
      in the output-to-stdout variant.
      
      Report and fix by Muhammad Asif Naeem.
      bf0945e8
    • P
      pg_receivexlog: Rename option --dir to --directory · 7d754961
      Peter Eisentraut 提交于
      getopt_long() allows abbreviating long options, so we might as well
      give the option the full name, and users can abbreviate it how they
      like.
      
      Do some general polishing of the --help output at the same time.
      7d754961
  5. 11 6月, 2012 4 次提交
  6. 10 6月, 2012 4 次提交
  7. 09 6月, 2012 2 次提交
  8. 08 6月, 2012 3 次提交