Skip to content
Snippets Groups Projects
  1. Nov 26, 2007
  2. Nov 18, 2007
  3. Nov 10, 2007
  4. Nov 07, 2007
  5. Oct 30, 2007
  6. Oct 29, 2007
  7. Oct 25, 2007
  8. Oct 17, 2007
  9. Oct 10, 2007
  10. Oct 07, 2007
  11. Oct 03, 2007
  12. Sep 29, 2007
    • Tom Lane's avatar
      Change initdb and CREATE DATABASE to actively reject attempts to create · 70b9b9b7
      Tom Lane authored
      databases with encodings that are incompatible with the server's LC_CTYPE
      locale, when we can determine that (which we can on most modern platforms,
      I believe).  C/POSIX locale is compatible with all encodings, of course,
      so there is still some usefulness to CREATE DATABASE's ENCODING option,
      but this will insulate us against all sorts of recurring complaints
      caused by mismatched settings.
      
      I moved initdb's existing LC_CTYPE-to-encoding mapping knowledge into
      a new src/port/ file so it could be shared by CREATE DATABASE.
      70b9b9b7
  13. Sep 27, 2007
    • Tom Lane's avatar
      Minor improvements in backup and recovery: · f18dfc48
      Tom Lane authored
      - create a separate archive_mode GUC, on which archive_command is dependent
      
      - %r option in recovery.conf sends last restartpoint to recovery command
      
      - %r used in pg_standby, updated README
      
      - minor other code cleanup in pg_standby
      
      - doc on Warm Standby now mentions pg_standby and %r
      
      - log_restartpoints recovery option emits LOG message at each restartpoint
      
      - end of recovery now displays last transaction end time, as requested
        by Warren Little; also shown at each restartpoint
      
      - restart archiver if needed to carry away WAL files at shutdown
      
      Simon Riggs
      f18dfc48
  14. Sep 24, 2007
  15. Sep 20, 2007
    • Tom Lane's avatar
      HOT updates. When we update a tuple without changing any of its indexed · 282d2a03
      Tom Lane authored
      columns, and the new version can be stored on the same heap page, we no longer
      generate extra index entries for the new version.  Instead, index searches
      follow the HOT-chain links to ensure they find the correct tuple version.
      
      In addition, this patch introduces the ability to "prune" dead tuples on a
      per-page basis, without having to do a complete VACUUM pass to recover space.
      VACUUM is still needed to clean up dead index entries, however.
      
      Pavan Deolasee, with help from a bunch of other people.
      282d2a03
  16. Sep 14, 2007
  17. Sep 11, 2007
    • Tom Lane's avatar
      Arrange for SET LOCAL's effects to persist until the end of the current top · 82a47982
      Tom Lane authored
      transaction, unless rolled back or overridden by a SET clause for the same
      variable attached to a surrounding function call.  Per discussion, these
      seem the best semantics.  Note that this is an INCOMPATIBLE CHANGE: in 8.0
      through 8.2, SET LOCAL's effects disappeared at subtransaction commit
      (leading to behavior that made little sense at the SQL level).
      
      I took advantage of the opportunity to rewrite and simplify the GUC variable
      save/restore logic a little bit.  The old idea of a "tentative" value is gone;
      it was a hangover from before we had a stack.  Also, we no longer need a stack
      entry for every nesting level, but only for those in which a variable's value
      actually changed.
      82a47982
  18. Sep 07, 2007
  19. Sep 03, 2007
  20. Aug 22, 2007
  21. Aug 21, 2007
  22. Jul 17, 2007
  23. Jul 10, 2007
    • Tom Lane's avatar
      Adjust processSQLNamePattern() so that $ within the pattern is always matched · ff481ca0
      Tom Lane authored
      literally, whether quoted or not.  Since we allow $ as a character within
      identifiers, this behavior is useful, whereas the previous behavior of
      treating it as the regexp ending anchor was nearly useless given that the
      pattern is automatically anchored anyway.  This affects the arguments of
      psql's \d commands as well as pg_dump's -n and -t switches.  Per discussion.
      ff481ca0
  24. Jul 09, 2007
  25. Jul 08, 2007
  26. Jul 03, 2007
  27. Jun 28, 2007
  28. Jun 21, 2007
  29. Jun 15, 2007
    • Tom Lane's avatar
      Tweak the API for per-datatype typmodin functions so that they are passed · 23347231
      Tom Lane authored
      an array of strings rather than an array of integers, and allow any simple
      constant or identifier to be used in typmods; for example
      	create table foo (f1 widget(42,'23skidoo',point));
      Of course the typmodin function has still got to pack this info into a
      non-negative int32 for storage, but it's still a useful improvement in
      flexibility, especially considering that you can do nearly anything if you
      are willing to keep the info in a side table.  We can get away with this
      change since we have not yet released a version providing user-definable
      typmods.  Per discussion.
      23347231
  30. Jun 11, 2007
    • Tom Lane's avatar
      Support UPDATE/DELETE WHERE CURRENT OF cursor_name, per SQL standard. · 6808f1b1
      Tom Lane authored
      Along the way, allow FOR UPDATE in non-WITH-HOLD cursors; there may once
      have been a reason to disallow that, but it seems to work now, and it's
      really rather necessary if you want to select a row via a cursor and then
      update it in a concurrent-safe fashion.
      
      Original patch by Arul Shaji, rather heavily editorialized by Tom Lane.
      6808f1b1
Loading