Skip to content
Snippets Groups Projects
  1. Oct 26, 2011
    • Magnus Hagander's avatar
      Implement streaming xlog for backup tools · d9bae531
      Magnus Hagander authored
      Add option for parallel streaming of the transaction log while a
      base backup is running, to get the logfiles before the server has
      removed them.
      
      Also add a tool called pg_receivexlog, which streams the transaction
      log into files, creating a log archive without having to wait for
      segments to complete, thus decreasing the window of data loss without
      having to waste space using archive_timeout. This works best in
      combination with archive_command - suggested usage docs etc coming later.
      d9bae531
  2. Apr 04, 2011
  3. Feb 12, 2011
    • Peter Eisentraut's avatar
      DDL support for collations · b313bca0
      Peter Eisentraut authored
      - collowner field
      - CREATE COLLATION
      - ALTER COLLATION
      - DROP COLLATION
      - COMMENT ON COLLATION
      - integration with extensions
      - pg_dump support for the above
      - dependency management
      - psql tab completion
      - psql \dO command
      b313bca0
  4. Feb 08, 2011
    • Tom Lane's avatar
      Core support for "extensions", which are packages of SQL objects. · d9572c4e
      Tom Lane authored
      This patch adds the server infrastructure to support extensions.
      There is still one significant loose end, namely how to make it play nice
      with pg_upgrade, so I am not yet committing the changes that would make
      all the contrib modules depend on this feature.
      
      In passing, fix a disturbingly large amount of breakage in
      AlterObjectNamespace() and callers.
      
      Dimitri Fontaine, reviewed by Anssi Kääriäinen,
      Itagaki Takahiro, Tom Lane, and numerous others
      d9572c4e
  5. Jan 23, 2011
    • Magnus Hagander's avatar
      Add pg_basebackup tool for streaming base backups · 048d148f
      Magnus Hagander authored
      This tool makes it possible to do the pg_start_backup/
      copy files/pg_stop_backup step in a single command.
      
      There are still some steps to be done before this is a
      complete backup solution, such as the ability to stream
      the required WAL logs, but it's still usable, and
      could do with some buildfarm coverage.
      
      In passing, make the checkpoint request optionally
      fast instead of hardcoding it.
      
      Magnus Hagander, reviewed by Fujii Masao and Dimitri Fontaine
      048d148f
  6. 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
  7. Nov 09, 2010
  8. Sep 28, 2010
    • Robert Haas's avatar
      Add a SECURITY LABEL command. · 4d355a83
      Robert Haas authored
      This is intended as infrastructure to support integration with label-based
      mandatory access control systems such as SE-Linux. Further changes (mostly
      hooks) will be needed, but this is a big chunk of it.
      
      KaiGai Kohei and Robert Haas
      4d355a83
  9. Sep 20, 2010
  10. Dec 11, 2009
  11. Oct 05, 2009
    • Tom Lane's avatar
      Create an ALTER DEFAULT PRIVILEGES command, which allows users to adjust · 249724cb
      Tom Lane authored
      the privileges that will be applied to subsequently-created objects.
      
      Such adjustments are always per owning role, and can be restricted to objects
      created in particular schemas too.  A notable benefit is that users can
      override the traditional default privilege settings, eg, the PUBLIC EXECUTE
      privilege traditionally granted by default for functions.
      
      Petr Jelinek
      249724cb
  12. Sep 23, 2009
    • Tom Lane's avatar
      Implement the DO statement to support execution of PL code without having · 9048b731
      Tom Lane authored
      to create a function for it.
      
      Procedural languages now have an additional entry point, namely a function
      to execute an inline code block.  This seemed a better design than trying
      to hide the transient-ness of the code from the PL.  As of this patch, only
      plpgsql has an inline handler, but probably people will soon write handlers
      for the other standard PLs.
      
      In passing, remove the long-dead LANCOMPILER option of CREATE LANGUAGE.
      
      Petr Jelinek
      9048b731
  13. 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
  14. Mar 27, 2008
  15. Aug 21, 2007
  16. Jul 03, 2007
  17. Apr 26, 2007
    • Neil Conway's avatar
      Rename the newly-added commands for discarding session state. · 16efdb5e
      Neil Conway authored
      RESET SESSION, RESET PLANS, and RESET TEMP are now DISCARD ALL,
      DISCARD PLANS, and DISCARD TEMP, respectively. This is to avoid
      confusion with the pre-existing RESET variants: the DISCARD
      commands are not actually similar to RESET. Patch from Marko
      Kreen, with some minor editorialization.
      16efdb5e
  18. Jan 23, 2007
  19. Sep 18, 2006
  20. Nov 21, 2005
    • Alvaro Herrera's avatar
      Implement DROP OWNED and REASSIGN OWNED. These new commands facilitate the · cec3b0a9
      Alvaro Herrera authored
      process of dropping roles by dropping objects owned by them and privileges
      granted to them, or giving the owned objects to someone else, through the
      use of the data stored in the new pg_shdepend catalog.
      
      Some refactoring of the GRANT/REVOKE code was needed, as well as ALTER OWNER
      code.  Further cleanup of code duplication in the GRANT code seems necessary.
      
      Implemented by me after an idea from Tom Lane, who also provided various kind
      of implementation advice.
      
      Regression tests pass.  Some tests for the new functionality are also added,
      as well as rudimentary documentation.
      cec3b0a9
  21. Jul 29, 2005
  22. Jul 27, 2005
  23. Jul 26, 2005
  24. Jun 18, 2005
  25. Aug 21, 2004
  26. Aug 12, 2004
  27. Aug 01, 2004
    • Tom Lane's avatar
      Some mop-up work for savepoints (nested transactions). Store a small · efcaf1e8
      Tom Lane authored
      number of active subtransaction XIDs in each backend's PGPROC entry,
      and use this to avoid expensive probes into pg_subtrans during
      TransactionIdIsInProgress.  Extend EOXactCallback API to allow add-on
      modules to get control at subxact start/end.  (This is deliberately
      not compatible with the former API, since any uses of that API probably
      need manual review anyway.)  Add basic reference documentation for
      SAVEPOINT and related commands.  Minor other cleanups to check off some
      of the open issues for subtransactions.
      Alvaro Herrera and Tom Lane.
      efcaf1e8
  28. Jun 25, 2004
  29. Jun 18, 2004
  30. Apr 20, 2004
  31. Nov 29, 2003
    • PostgreSQL Daemon's avatar
      · 969685ad
      PostgreSQL Daemon authored
      $Header: -> $PostgreSQL Changes ...
      969685ad
  32. Jun 27, 2003
  33. Mar 20, 2003
    • Bruce Momjian's avatar
      Todo items: · 5f65225f
      Bruce Momjian authored
      Add ALTER SEQUENCE to modify min/max/increment/cache/cycle values
      
      Also updated create sequence docs to mention NO MINVALUE, & NO MAXVALUE.
      
      New Files:
      doc/src/sgml/ref/alter_sequence.sgml
      src/test/regress/expected/sequence.out
      src/test/regress/sql/sequence.sql
      
      
      ALTER SEQUENCE is NOT transactional.  It behaves similarly to setval().
      It matches the proposed SQL200N spec, as well as Oracle in most ways --
      Oracle lacks RESTART WITH for some strange reason.
      
      --
      Rod Taylor <rbt@rbt.ca>
      5f65225f
  34. Dec 06, 2002
  35. Sep 07, 2002
  36. Aug 27, 2002
    • Tom Lane's avatar
      PREPARE/EXECUTE statements. Patch by Neil Conway, some kibitzing · 28e82066
      Tom Lane authored
      from Tom Lane.
      28e82066
    • Bruce Momjian's avatar
      I attach a little patch to make CLUSTER set and reset the indisclustered · c0ad5953
      Bruce Momjian authored
      bit on the indexes.
      
      I also attach clusterdb and clusterdb.sgml; both of them are blatant
      rips of vacuumdb and vacuumdb.sgml, but get the job done.  Please review
      them, as I'm probably making a lot of mistakes with SGML and I can't
      compile it here.
      
      vacuumdb itself is not very comfortable to use when the databases have
      passwords, because it has to connect once for each table (I can probably
      make it connect only once for each database; should I?).  Because of
      this I added a mention of PGPASSWORDFILE in the documentation, but I
      don't know if that is the correct place for that.
      
      Alvaro Herrera
      c0ad5953
Loading