Skip to content
Snippets Groups Projects
  1. Mar 04, 2009
  2. Feb 27, 2009
  3. Feb 26, 2009
  4. Feb 24, 2009
  5. Feb 18, 2009
  6. Feb 17, 2009
  7. Feb 12, 2009
  8. Feb 11, 2009
    • Tom Lane's avatar
      Change ALTER TABLE SET WITHOUT OIDS to rewrite the whole table to physically · 6d1e3618
      Tom Lane authored
      get rid of the OID column.  This eliminates the problem discovered by Heikki
      back in November that 8.4's suppression of "unnecessary" junk filtering in
      INSERT/SELECT could lead to an Assert failure, or storing of oids into a table
      that shouldn't have them if Asserts are off.  While that particular problem
      could have been solved in other ways, it seems likely to be just a forerunner
      of things to come if we continue to allow tables to contain rows that disagree
      with the pg_class.relhasoids setting.  It's better to make this operation slow
      than to sacrifice performance or risk bugs in more common code paths.
      
      Also, add ALTER TABLE SET WITH OIDS to rewrite the table to add oids.
      This was a bit more controversial, but in view of the very small amount of
      extra code needed given the current ALTER TABLE infrastructure, it seems best
      to eliminate the asymmetry in features.
      6d1e3618
  9. Feb 10, 2009
  10. Feb 09, 2009
  11. Feb 07, 2009
  12. Feb 06, 2009
  13. Feb 02, 2009
  14. Jan 27, 2009
  15. Jan 23, 2009
  16. Jan 22, 2009
  17. Jan 20, 2009
    • Peter Eisentraut's avatar
      Revise the permission checking on user mapping DDL commands. · 93a6be63
      Peter Eisentraut authored
      CREATE/ALTER/DROP USER MAPPING are now allowed either by the server owner or
      by a user with USAGE privileges for his own user name.  This is more or less
      what the SQL standard wants anyway (plus "implementation-defined")
      
      Hide information_schema.user_mapping_options.option_value, unless the current
      user is the one associated with the user mapping, or is the server owner and
      the mapping is for PUBLIC, or is a superuser.  This is to protect passwords.
      
      Also, fix a bug in information_schema._pg_foreign_servers, which hid servers
      using wrappers where the current user did not have privileges on the wrapper.
      The correct behavior is to hide servers where the current user has no
      privileges on the server.
      93a6be63
    • Bruce Momjian's avatar
      Update \d*S documentation to be more accurate; system objects are added · fe626982
      Bruce Momjian authored
      to the display, not restricted in the display; new text:
      
              The letter <literal>S</literal> adds the listing of system
              objects; without <literal>S</literal>, only non-system
              objects are shown.
      fe626982
  18. Jan 17, 2009
  19. Jan 12, 2009
  20. Jan 09, 2009
  21. Jan 07, 2009
  22. 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
  23. Jan 01, 2009
  24. 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
  25. Dec 29, 2008
  26. Dec 28, 2008
  27. 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
  28. Dec 18, 2008
  29. Dec 15, 2008
Loading