Skip to content
Snippets Groups Projects
  1. Feb 14, 2014
  2. Feb 13, 2014
    • Tom Lane's avatar
      Improve cross-references between minor version release notes. · 22fce59a
      Tom Lane authored
      We have a practice of providing a "bread crumb" trail between the minor
      versions where the migration section actually tells you to do something.
      Historically that was just plain text, eg, "see the release notes for
      9.2.4"; but if you're using a browser or PDF reader, it's a lot nicer
      if it's a live hyperlink.  So use "<xref>" instead.  Any argument against
      doing this vanished with the recent decommissioning of plain-text release
      notes.
      
      Vik Fearing
      22fce59a
  3. Feb 11, 2014
    • Tom Lane's avatar
      Don't generate plain-text HISTORY and src/test/regress/README anymore. · dd560510
      Tom Lane authored
      Providing this information as plain text was doubtless worth the trouble
      ten years ago, but it seems likely that hardly anyone reads it in this
      format anymore.  And the effort required to maintain these files (in the
      form of extra-complex markup rules in the relevant parts of the SGML
      documentation) is significant.  So, let's stop doing that and rely solely
      on the other documentation formats.
      
      Per discussion, the plain-text INSTALL instructions might still be worth
      their keep, so we continue to generate that file.
      
      Rather than remove HISTORY and src/test/regress/README from distribution
      tarballs entirely, replace them with simple stub files that tell the reader
      where to find the relevant documentation.  This is mainly to avoid possibly
      breaking packaging recipes that expect these files to exist.
      
      Back-patch to all supported branches, because simplifying the markup
      requirements for release notes won't help much unless we do it in all
      branches.
      dd560510
  4. Jan 15, 2014
    • Tom Lane's avatar
      Improve FILES section of psql reference page. · aa00af38
      Tom Lane authored
      Primarily, explain where to find the system-wide psqlrc file, per recent
      gripe from John Sutton.  Do some general wordsmithing and improve the
      markup, too.
      
      Also adjust psqlrc.sample so its comments about file location are somewhat
      trustworthy.  (Not sure why we bother with this file when it's empty,
      but whatever.)
      
      Back-patch to 9.2 where the startup file naming scheme was last changed.
      aa00af38
  5. Jan 07, 2014
  6. Dec 12, 2013
  7. Dec 02, 2013
  8. Nov 28, 2013
  9. Nov 27, 2013
  10. Nov 13, 2013
  11. Nov 06, 2013
    • Tom Lane's avatar
      Support default arguments and named-argument notation for window functions. · 74aea2af
      Tom Lane authored
      These things didn't work because the planner omitted to do the necessary
      preprocessing of a WindowFunc's argument list.  Add the few dozen lines
      of code needed to handle that.
      
      Although this sounds like a feature addition, it's really a bug fix because
      the default-argument case was likely to crash previously, due to lack of
      checking of the number of supplied arguments in the built-in window
      functions.  It's not a security issue because there's no way for a
      non-superuser to create a window function definition with defaults that
      refers to a built-in C function, but nonetheless people might be annoyed
      that it crashes rather than producing a useful error message.  So
      back-patch as far as the patch applies easily, which turns out to be 9.2.
      I'll put a band-aid in earlier versions as a separate patch.
      
      (Note that these features still don't work for aggregates, and fixing that
      case will be harder since we represent aggregate arg lists as target lists
      not bare expression lists.  There's no crash risk though because CREATE
      AGGREGATE doesn't accept defaults, and we reject named-argument notation
      when parsing an aggregate call.)
      74aea2af
    • Tom Lane's avatar
      Improve the error message given for modifying a window with frame clause. · 599942cf
      Tom Lane authored
      For rather inscrutable reasons, SQL:2008 disallows copying-and-modifying a
      window definition that has any explicit framing clause.  The error message
      we gave for this only made sense if the referencing window definition
      itself contains an explicit framing clause, which it might well not.
      Moreover, in the context of an OVER clause it's not exactly obvious that
      "OVER (windowname)" implies copy-and-modify while "OVER windowname" does
      not.  This has led to multiple complaints, eg bug #5199 from Iliya
      Krapchatov.  Change to a hopefully more intelligible error message, and
      in the case where we have just "OVER (windowname)", add a HINT suggesting
      that omitting the parentheses will fix it.  Also improve the related
      documentation.  Back-patch to all supported branches.
      599942cf
  12. Oct 21, 2013
  13. Oct 15, 2013
  14. Oct 09, 2013
  15. Oct 08, 2013
  16. Oct 07, 2013
  17. Oct 03, 2013
  18. Sep 05, 2013
  19. Sep 04, 2013
    • Tom Lane's avatar
      Don't fail for bad GUCs in CREATE FUNCTION with check_function_bodies off. · 9ac5f63c
      Tom Lane authored
      The previous coding attempted to activate all the GUC settings specified
      in SET clauses, so that the function validator could operate in the GUC
      environment expected by the function body.  However, this is problematic
      when restoring a dump, since the SET clauses might refer to database
      objects that don't exist yet.  We already have the parameter
      check_function_bodies that's meant to prevent forward references in
      function definitions from breaking dumps, so let's change CREATE FUNCTION
      to not install the SET values if check_function_bodies is off.
      
      Authors of function validators were already advised not to make any
      "context sensitive" checks when check_function_bodies is off, if indeed
      they're checking anything at all in that mode.  But extend the
      documentation to point out the GUC issue in particular.
      
      (Note that we still check the SET clauses to some extent; the behavior
      with !check_function_bodies is now approximately equivalent to what ALTER
      DATABASE/ROLE have been doing for awhile with context-dependent GUCs.)
      
      This problem can be demonstrated in all active branches, so back-patch
      all the way.
      9ac5f63c
  20. Sep 02, 2013
  21. Jul 31, 2013
    • Fujii Masao's avatar
      Fix inaccurate description of tablespace. · e73357c1
      Fujii Masao authored
      Currently we don't need to update the pg_tablespace catalog
      after redefining the symbolic links to the tablespaces
      because pg_tablespace.spclocation column was removed in
      PostgreSQL 9.2.
      
      Back patch to 9.2 where pg_tablespace.spclocation was removed.
      
      Ian Barwick, with minor change by me.
      e73357c1
  22. Jul 19, 2013
  23. Jul 17, 2013
  24. Jul 12, 2013
  25. Jul 11, 2013
    • Bruce Momjian's avatar
      pg_upgrade: document possible pg_hba.conf options · 921a0b20
      Bruce Momjian authored
      Previously, pg_upgrade docs recommended using .pgpass if using MD5
      authentication to avoid being prompted for a password.  Turns out pg_ctl
      never prompts for a password, so MD5 requires .pgpass --- document that.
      Also recommend 'peer' for authentication too.
      Backpatch back to 9.1.
      921a0b20
  26. Jul 05, 2013
  27. Jul 03, 2013
  28. Jul 02, 2013
    • Alvaro Herrera's avatar
      Mention extra_float_digits in floating point docs · ca871e71
      Alvaro Herrera authored
      Make it easier for readers of the FP docs to find out about possibly
      truncated values.
      
      Per complaint from Tom Duffey in message
      F0E0F874-C86F-48D1-AA2A-0C5365BF5118@trillitech.com
      
      Author: Albe Laurenz
      Reviewed by: Abhijit Menon-Sen
      ca871e71
  29. Jun 27, 2013
    • Tom Lane's avatar
      Tweak wording in sequence-function docs to avoid PDF build failures. · 60d7edb8
      Tom Lane authored
      Adjust the wording in the first para of "Sequence Manipulation Functions"
      so that neither of the link phrases in it break across line boundaries,
      in either A4- or US-page-size PDF output.  This fixes a reported build
      failure for the 9.3beta2 A4 PDF docs, and future-proofs this particular
      para against causing similar problems in future.  (Perhaps somebody will
      fix this issue in the SGML/TeX documentation tool chain someday, but I'm
      not holding my breath.)
      
      Back-patch to all supported branches, since the same problem could rise up
      to bite us in future updates if anyone changes anything earlier than this
      in func.sgml.
      60d7edb8
    • Noah Misch's avatar
      Document effect of constant folding on CASE. · 1f3fbced
      Noah Misch authored
      Back-patch to all supported versions.
      
      Laurenz Albe
      1f3fbced
  30. Jun 20, 2013
  31. Jun 18, 2013
    • Simon Riggs's avatar
      Fix docs on lock level for ALTER TABLE VALIDATE · 20a562f9
      Simon Riggs authored
      ALTER TABLE .. VALIDATE CONSTRAINT previously
      gave incorrect details about lock levels and
      therefore incomplete reasons to use the option.
      
      Initial bug report and fix from Marko Tiikkaja
      Reworded by me to include comments by Kevin Grittner
      20a562f9
  32. Jun 12, 2013
  33. Jun 11, 2013
  34. Jun 09, 2013
Loading