Skip to content
Snippets Groups Projects
  1. Jan 05, 2009
    • Tom Lane's avatar
      Add a --role option to pg_dump, pg_dumpall, and pg_restore. This allows · b0a6ad70
      Tom Lane authored
      performing dumps and restores in accordance with a security policy that
      forbids logging in directly as superuser, but instead specifies that you
      should log into an admin account and then SET ROLE to the superuser.
      
      In passing, clean up some ugly and mostly-broken code for quoting shell
      arguments in pg_dumpall.
      
      Benedek László, with some help from Tom Lane
      b0a6ad70
  2. Jan 01, 2009
  3. Dec 31, 2008
    • Tom Lane's avatar
      Add a WINDOW attribute to CREATE FUNCTION, and teach pg_dump about it, · 26ce4e85
      Tom Lane authored
      so that user-defined window functions are possible.  For the moment you'll
      have to write them in C, for lack of any interface to the WindowObject API
      in the available PLs, but it's better than no support at all.
      
      There was some debate about the best syntax for this.  I ended up choosing
      the "it's an attribute" position --- the other approach will inevitably be
      more work, and the likely market for user-defined window functions is
      probably too small to justify it.
      26ce4e85
    • Tom Lane's avatar
      Add some basic support for window frame clauses to the window-functions · 8e8854da
      Tom Lane authored
      patch.  This includes the ability to force the frame to cover the whole
      partition, and the ability to make the frame end exactly on the current row
      rather than its last ORDER BY peer.  Supporting any more of the full SQL
      frame-clause syntax will require nontrivial hacking on the window aggregate
      code, so it'll have to wait for 8.5 or beyond.
      8e8854da
  4. Dec 29, 2008
  5. Dec 28, 2008
  6. Dec 19, 2008
    • Peter Eisentraut's avatar
      SQL/MED catalog manipulation facilities · cae565e5
      Peter Eisentraut authored
      This doesn't do any remote or external things yet, but it gives modules
      like plproxy and dblink a standardized and future-proof system for
      managing their connection information.
      
      Martin Pihlak and Peter Eisentraut
      cae565e5
  7. Dec 18, 2008
  8. Dec 15, 2008
  9. Dec 13, 2008
  10. Dec 11, 2008
  11. Dec 07, 2008
  12. Dec 04, 2008
  13. Dec 01, 2008
  14. Nov 30, 2008
    • Tom Lane's avatar
      Add a "LIKE = typename" clause to CREATE TYPE for base types. This allows · 3f936aac
      Tom Lane authored
      the basic representational details (typlen, typalign, typbyval, typstorage)
      to be copied from an existing type rather than listed explicitly in the
      CREATE TYPE command.  The immediate reason for this is to provide a simple
      solution for add-on modules that want to define types represented as int8,
      float4, or float8: as of 8.4 the appropriate PASSEDBYVALUE setting is
      platform-specific and so it's hard for a SQL script to know what to do.
      
      This patch fixes the contrib/isn breakage reported by Rushabh Lathia.
      3f936aac
  15. Nov 27, 2008
  16. Nov 26, 2008
  17. Nov 24, 2008
  18. Nov 21, 2008
  19. Nov 20, 2008
  20. Nov 19, 2008
  21. Nov 16, 2008
    • Tom Lane's avatar
      Modify UPDATE/DELETE WHERE CURRENT OF to use the FOR UPDATE infrastructure to · 18004101
      Tom Lane authored
      locate the target row, if the cursor was declared with FOR UPDATE or FOR
      SHARE.  This approach is more flexible and reliable than digging through the
      plan tree; for instance it can cope with join cursors.  But we still provide
      the old code for use with non-FOR-UPDATE cursors.  Per gripe from Robert Haas.
      18004101
  22. Nov 14, 2008
  23. Nov 12, 2008
  24. Nov 10, 2008
  25. Nov 09, 2008
    • Tom Lane's avatar
      Add a new GUC variable called "IntervalStyle" that decouples interval output · df7641e2
      Tom Lane authored
      from DateStyle, and create a new interval style that produces output matching
      the SQL standard (at least for interval values that fall within the standard's
      restrictions).  IntervalStyle is also used to resolve the conflict between the
      standard and traditional Postgres rules for interpreting negative interval
      input.
      
      Ron Mayer
      df7641e2
  26. Nov 07, 2008
  27. Nov 06, 2008
  28. Nov 04, 2008
  29. Oct 31, 2008
  30. Oct 28, 2008
  31. Oct 27, 2008
  32. Oct 22, 2008
  33. Oct 21, 2008
  34. Oct 18, 2008
  35. Oct 10, 2008
  36. Oct 07, 2008
Loading