Skip to content
Snippets Groups Projects
  1. Jun 01, 2012
  2. May 30, 2012
    • Tom Lane's avatar
      Rewrite --section option to decouple it from --schema-only/--data-only. · 4317e024
      Tom Lane authored
      The initial implementation of pg_dump's --section option supposed that the
      existing --schema-only and --data-only options could be made equivalent to
      --section settings.  This is wrong, though, due to dubious but long since
      set-in-stone decisions about where to dump SEQUENCE SET items, as seen in
      bug report from Martin Pitt.  (And I'm not totally convinced there weren't
      other bugs, either.)  Undo that coupling and instead drive --section
      filtering off current-section state tracked as we scan through the TOC
      list to call _tocEntryRequired().
      
      To make sure those decisions don't shift around and hopefully save a few
      cycles, run _tocEntryRequired() only once per TOC entry and save the result
      in a new TOC field.  This required minor rejiggering of ACL handling but
      also allows a far cleaner implementation of inhibit_data_for_failed_table.
      
      Also, to ensure that pg_dump and pg_restore have the same behavior with
      respect to the --section switches, add _tocEntryRequired() filtering to
      WriteToc() and WriteDataChunks(), rather than trying to implement section
      filtering in an entirely orthogonal way in dumpDumpableObject().  This
      required adjusting the handling of the special ENCODING and STDSTRINGS
      items, but they were pretty weird before anyway.
      
      Minor other code review for the patch, too.
      4317e024
  3. May 28, 2012
    • Peter Eisentraut's avatar
      libpq: URI parsing fixes · 2d612abd
      Peter Eisentraut authored
      Drop special handling of host component with slashes to mean
      Unix-domain socket.  Specify it as separate parameter or using
      percent-encoding now.
      
      Allow omitting username, password, and port even if the corresponding
      designators are present in URI.
      
      Handle percent-encoding in query parameter keywords.
      
      Alex Shulgin
      
      some documentation improvements by myself
      2d612abd
  4. May 27, 2012
  5. May 25, 2012
  6. May 24, 2012
  7. May 23, 2012
  8. May 22, 2012
  9. May 21, 2012
  10. May 20, 2012
    • Peter Eisentraut's avatar
      Some reference page improvements · fe2534e5
      Peter Eisentraut authored
      initdb: Add -T option
      oid2name: Put options in some non-random order
      pg_dump: Put --section option in the right place
      
      And some additional markup and terminology improvements.
      fe2534e5
  11. May 19, 2012
  12. May 17, 2012
  13. May 15, 2012
  14. May 12, 2012
  15. May 11, 2012
    • Tom Lane's avatar
      Fix contrib/citext's upgrade script to handle array and domain cases. · 63fecc91
      Tom Lane authored
      We previously recognized that citext wouldn't get marked as collatable
      during pg_upgrade from a pre-9.1 installation, and hacked its
      create-from-unpackaged script to manually perform the necessary catalog
      adjustments.  However, we overlooked the fact that domains over citext,
      as well as the citext[] array type, need the same adjustments.  Extend
      the script to handle those cases.
      
      Also, the documentation suggested that this was only an issue in pg_upgrade
      scenarios, which is quite wrong; loading any dump containing citext from a
      pre-9.1 server will also result in the type being wrongly marked.
      
      I approached the documentation problem by changing the 9.1.2 release note
      paragraphs about this issue, which is historically inaccurate.  But it
      seems better than having the information scattered in multiple places, and
      leaving incorrect info in the 9.1.2 notes would be bad anyway.  We'll still
      need to mention the issue again in the 9.1.4 notes, but perhaps they can
      just reference 9.1.2 for fix instructions.
      
      Per report from Evan Carroll.  Back-patch into 9.1.
      63fecc91
    • Tom Lane's avatar
      Improve discussion of setting server parameters. · 817ec1bc
      Tom Lane authored
      Rewrite description of "include_if_exists" for clarity.  Add subsection
      headings to make the structure of the page a little clearer.  A couple
      other minor improvements too.
      
      Josh Kupershmidt and Tom Lane
      817ec1bc
    • Tom Lane's avatar
      Tweak documentation wording to avoid "pdfendlink" failure. · e3cdc153
      Tom Lane authored
      HEAD documentation was failing to build as US PDF for me, because a link
      to "CREATE CAST" was getting split across pages.  Adjust wording to
      remove this rather gratuitous cross-reference.
      e3cdc153
  16. May 10, 2012
Loading