Skip to content
Snippets Groups Projects
  1. Nov 11, 2011
  2. Nov 10, 2011
  3. Nov 08, 2011
    • Heikki Linnakangas's avatar
      Adjust range type docs for some last-minute changes I made to the patch. · fbf99d2f
      Heikki Linnakangas authored
      non_empty(anyrange) function was removed, empty(anyrange) was renamed to
      isempty(anyrange), and !? operators were removed.
      fbf99d2f
    • Peter Eisentraut's avatar
    • Robert Haas's avatar
      Remove hstore's text => text operator. · b60653bc
      Robert Haas authored
      Since PostgreSQL 9.0, we've emitted a warning message when an operator
      named => is created, because the SQL standard now reserves that token
      for another use.  But we've also shipped such an operator with hstore.
      Use of the function hstore(text, text) has been recommended in
      preference to =>(text, text).  Per discussion, it's now time to take
      the next step and stop shipping the operator.  This will allow us to
      prohibit the use of => as an operator name in a future release if and
      when we wish to support the SQL standard use of this token.
      
      The release notes should mention this incompatibility.
      
      Patch by me, reviewed by David Wheeler, Dimitri Fontaine and Tom Lane.
      b60653bc
  4. Nov 07, 2011
  5. Nov 04, 2011
  6. Nov 03, 2011
  7. Nov 01, 2011
  8. Oct 28, 2011
  9. Oct 27, 2011
    • Tom Lane's avatar
      Typo fixes. · bf820136
      Tom Lane authored
      expect -> except, noted by Andrew Dunstan.  Also, "cannot" seems more
      readable here than "can not", per David Wheeler.
      bf820136
  10. 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
  11. Oct 25, 2011
  12. Oct 23, 2011
    • Tom Lane's avatar
      Support synchronization of snapshots through an export/import procedure. · bb446b68
      Tom Lane authored
      A transaction can export a snapshot with pg_export_snapshot(), and then
      others can import it with SET TRANSACTION SNAPSHOT.  The data does not
      leave the server so there are not security issues.  A snapshot can only
      be imported while the exporting transaction is still running, and there
      are some other restrictions.
      
      I'm not totally convinced that we've covered all the bases for SSI (true
      serializable) mode, but it works fine for lesser isolation modes.
      
      Joachim Wieland, reviewed by Marko Tiikkaja, and rather heavily modified
      by Tom Lane
      bb446b68
  13. Oct 19, 2011
  14. Oct 17, 2011
    • Tom Lane's avatar
      Avoid assuming that index-only scan data matches the index's rowtype. · 336c1d7a
      Tom Lane authored
      In general the data returned by an index-only scan should have the
      datatypes originally computed by FormIndexDatum.  If the index opclasses
      use "storage" datatypes different from their input datatypes, the scan
      tuple will not have the same rowtype attributed to the index; but we had
      a hard-wired assumption that that was true in nodeIndexonlyscan.c.  We'd
      already hacked around the issue for the one case where the types are
      different in btree indexes (btree name_ops), but this would definitely
      come back to bite us if we ever implement index-only scans in GiST.
      
      To fix, require the index AM to explicitly provide the tupdesc for the
      tuple it is returning.  btree can just pass back the index's tupdesc, but
      GiST will have to work harder when and if it supports index-only scans.
      
      I had previously proposed fixing this by allowing the index AM to fill the
      scan tuple slot directly; but on reflection that seemed like a module
      layering violation, since TupleTableSlots are creatures of the executor.
      At least in the btree case, it would also be less efficient, since the
      tuple deconstruction work would occur even for rows later found to be
      invisible to the scan's snapshot.
      336c1d7a
  15. Oct 16, 2011
  16. Oct 15, 2011
  17. Oct 14, 2011
  18. Oct 13, 2011
  19. Oct 12, 2011
    • Bruce Momjian's avatar
    • Bruce Momjian's avatar
      Clarify wording of foreign key documentation to mention null entries as · f2b36d8e
      Bruce Momjian authored
      not matching the primary key.
      
      Report from Marek.Balgar@seznam.cz
      f2b36d8e
    • Tom Lane's avatar
      Throw a useful error message if an extension script file is fed to psql. · 458857cc
      Tom Lane authored
      We have seen one too many reports of people trying to use 9.1 extension
      files in the old-fashioned way of sourcing them in psql.  Not only does
      that usually not work (due to failure to substitute for MODULE_PATHNAME
      and/or @extschema@), but if it did work they'd get a collection of loose
      objects not an extension.  To prevent this, insert an \echo ... \quit
      line that prints a suitable error message into each extension script file,
      and teach commands/extension.c to ignore lines starting with \echo.
      That should not only prevent any adverse consequences of loading a script
      file the wrong way, but make it crystal clear to users that they need to
      do it differently now.
      
      Tom Lane, following an idea of Andrew Dunstan's.  Back-patch into 9.1
      ... there is not going to be much value in this if we wait till 9.2.
      458857cc
Loading