Skip to content
Snippets Groups Projects
  1. Jan 02, 2011
    • Robert Haas's avatar
      Basic foreign table support. · 0d692a0d
      Robert Haas authored
      Foreign tables are a core component of SQL/MED.  This commit does
      not provide a working SQL/MED infrastructure, because foreign tables
      cannot yet be queried.  Support for foreign table scans will need to
      be added in a future patch.  However, this patch creates the necessary
      system catalog structure, syntax support, and support for ancillary
      operations such as COMMENT and SECURITY LABEL.
      
      Shigeru Hanada, heavily revised by Robert Haas
      0d692a0d
  2. Jan 01, 2011
  3. Dec 29, 2010
    • Tom Lane's avatar
      Improve pg_upgrade's checks for required executables. · 88c80345
      Tom Lane authored
      Don't insist on pg_dumpall and psql being present in the old cluster,
      since they are not needed.  Do insist on pg_resetxlog being present
      (in both old and new), since we need it.  Also check for pg_config,
      but only in the new cluster.  Remove the useless attempt to call
      pg_config in the old cluster; we don't need to know the old value of
      --pkglibdir.  (In the case of a stripped-down migration installation
      there might be nothing there to look at anyway, so any future change
      that might reintroduce that need would have to be considered carefully.)
      
      Per my attempts to build a minimal previous-version installation to support
      pg_upgrade.
      88c80345
  4. Dec 27, 2010
  5. Dec 22, 2010
  6. Dec 19, 2010
    • Tom Lane's avatar
      Fix erroneous parsing of tsquery input "... & !(subexpression) | ..." · abc10262
      Tom Lane authored
      After parsing a parenthesized subexpression, we must pop all pending
      ANDs and NOTs off the stack, just like the case for a simple operand.
      Per bug #5793.
      
      Also fix clones of this routine in contrib/intarray and contrib/ltree,
      where input of types query_int and ltxtquery had the same problem.
      
      Back-patch to all supported versions.
      abc10262
  7. Dec 16, 2010
    • Tom Lane's avatar
      Fix contrib/seg's GiST picksplit method. · 2a6ebe70
      Tom Lane authored
      This patch replaces Guttman's generalized split method with a simple
      sort-by-center-points algorithm.  Since the data is only one-dimensional
      we don't really need the slow and none-too-stable Guttman method.
      
      This is in part a bug fix, since seg has the same size_alpha versus
      size_beta typo that was recently fixed in contrib/cube.  It seems
      prudent to apply this rather aggressive fix only in HEAD, though.
      Back branches will just get the typo fix.
      
      Alexander Korotkov, reviewed by Yeb Havinga
      2a6ebe70
  8. Dec 15, 2010
  9. Dec 11, 2010
    • Tom Lane's avatar
      Clean up some copied-and-pasted code in pg_upgrade. · 3864afa1
      Tom Lane authored
      1. Don't reimplement S_ISDIR() and S_ISREG() badly.
      2. Don't reimplement access() badly.
      
      This code appears to have been copied from ancient versions of the
      corresponding backend routines, and not patched to incorporate subsequent
      fixes (see my commits of 2008-03-31 and 2010-01-14 respectively).
      It might be a good idea to change it to just *call* those routines,
      but for now I'll just transpose these fixes over.
      3864afa1
  10. Dec 04, 2010
  11. Nov 29, 2010
  12. Nov 27, 2010
  13. Nov 26, 2010
    • Tom Lane's avatar
      Fix significant memory leak in contrib/xml2 functions. · 4a2516a7
      Tom Lane authored
      Most of the functions that execute XPath queries leaked the data structures
      created by libxml2.  This memory would not be recovered until end of
      session, so it mounts up pretty quickly in any serious use of the feature.
      Per report from Pavel Stehule, though this isn't his patch.
      
      Back-patch to all supported branches.
      4a2516a7
  14. Nov 25, 2010
  15. Nov 23, 2010
  16. Nov 20, 2010
    • Robert Haas's avatar
      Expose quote_literal_cstr() from core. · 4343c0e5
      Robert Haas authored
      This eliminates the need for inefficient implementions of this
      functionality in both contrib/dblink and contrib/tablefunc, so remove
      them.  The upcoming patch implementing an in-core format() function
      will also require this functionality.
      
      In passing, add some regression tests.
      4343c0e5
  17. Nov 15, 2010
  18. Nov 12, 2010
    • Robert Haas's avatar
      Move copydir() prototype into its own header file. · 11e482c3
      Robert Haas authored
      Having this in src/include/port.h makes no sense, now that copydir.c lives
      in src/backend/strorage rather than src/port.  Along the way, remove an
      obsolete comment from contrib/pg_upgrade that makes reference to the old
      location.
      11e482c3
    • Peter Eisentraut's avatar
      Improved parallel make support · 19e231bb
      Peter Eisentraut authored
      Replace for loops in makefiles with proper dependencies.  Parallel
      make can now span across directories.  Also, make -k and make -q work
      properly.
      
      GNU make 3.80 or newer is now required.
      19e231bb
  19. Nov 04, 2010
  20. Nov 02, 2010
  21. Oct 26, 2010
  22. Oct 25, 2010
  23. Oct 22, 2010
  24. Oct 20, 2010
  25. Oct 19, 2010
Loading