Skip to content
Snippets Groups Projects
  1. Apr 25, 2011
    • Peter Eisentraut's avatar
      Normalize whitespace in the arguments of <indexterm> · 94126062
      Peter Eisentraut authored
      Strip leading and trailing whitespace and replace interior whitespace
      by a single space.  This avoids problems with the index generator
      producing duplicate index entries for terms that differ only in
      whitespace.
      
      Commit dca30da3 actually fixed all the
      indexterm elements that would cause this problem at the moment, but in
      case it sneaks in again, we're set.
      94126062
  2. Apr 23, 2011
    • Tom Lane's avatar
      Adjust comments about collate.linux.utf8 regression test. · 1abd146d
      Tom Lane authored
      This test should now work in any database with UTF8 encoding, regardless
      of the database's default locale.  The former restriction was really
      "doesn't work if default locale is C", and that was because of not handling
      mbstowcs/wcstombs correctly.
      1abd146d
  3. Apr 22, 2011
  4. Apr 21, 2011
    • Robert Haas's avatar
      Allow ALTER TYPE .. ADD ATTRIBUTE .. CASCADE to recurse to descendants. · a0e8df52
      Robert Haas authored
      Without this, adding an attribute to a typed table with an inheritance
      child fails, which is surprising.
      
      Noah Misch, with minor changes by me.
      a0e8df52
    • Robert Haas's avatar
      Allow ALTER TABLE name {OF type | NOT OF}. · 68739ba8
      Robert Haas authored
      This syntax allows a standalone table to be made into a typed table,
      or a typed table to be made standalone.  This is possibly a mildly
      useful feature in its own right, but the real motivation for this
      change is that we need it to make pg_upgrade work with typed tables.
      This doesn't actually fix that problem, but it's necessary
      infrastructure.
      
      Noah Misch
      68739ba8
  5. Apr 17, 2011
  6. Apr 15, 2011
  7. Apr 14, 2011
  8. Apr 13, 2011
  9. Apr 11, 2011
    • Tom Lane's avatar
      Teach regular expression operators to honor collations. · 1e16a810
      Tom Lane authored
      This involves getting the character classification and case-folding
      functions in the regex library to use the collations infrastructure.
      Most of this work had been done already in connection with the upper/lower
      and LIKE logic, so it was a simple matter of transposition.
      
      While at it, split out these functions into a separate source file
      regc_pg_locale.c, so that they can be correctly labeled with the Postgres
      project's license rather than the Scriptics license.  These functions are
      100% Postgres-written code whereas what remains in regc_locale.c is still
      mostly not ours, so lumping them both under the same copyright notice was
      getting more and more misleading.
      1e16a810
  10. Apr 09, 2011
    • Tom Lane's avatar
      Don't show unusable collations in psql's \dO command. · 7c76906b
      Tom Lane authored
      "Unusable" collations are those not matching the current database's
      encoding.  The former behavior inconsistently showed such collations
      some of the time, depending on the details of the pattern argument.
      7c76906b
  11. Apr 08, 2011
    • Tom Lane's avatar
      Avoid extra whitespace in the arguments of <indexterm>. · dca30da3
      Tom Lane authored
      As noted by Thom Brown, this confuses the DocBook index processor; it
      fails to merge entries that differ only in whitespace, and sorts them
      unexpectedly as well.  Seems like a toolchain bug, but I'm not going to
      hold my breath waiting for a fix.
      
      Note: easiest way to find these is to look for double spaces in HTML.index.
      dca30da3
    • Tom Lane's avatar
      Add an example of WITH (UPDATE RETURNING) INSERT to the INSERT ref page. · 8ad58279
      Tom Lane authored
      Per a discussion with Gavin Flower.  This barely scratches the surface
      of potential WITH (something RETURNING) use cases, of course, but it's
      one of the simplest compelling examples I can think of.
      8ad58279
  12. Apr 05, 2011
  13. Apr 04, 2011
  14. Apr 02, 2011
  15. Apr 01, 2011
    • Robert Haas's avatar
      Support comments on FOREIGN DATA WRAPPER and SERVER objects. · 50533a6d
      Robert Haas authored
      This mostly involves making it work with the objectaddress.c framework,
      which does most of the heavy lifting.  In that vein, change
      GetForeignDataWrapperOidByName to get_foreign_data_wrapper_oid and
      GetForeignServerOidByName to get_foreign_server_oid, to match the
      pattern we use for other object types.
      
      Robert Haas and Shigeru Hanada
      50533a6d
  16. Mar 31, 2011
  17. Mar 30, 2011
    • Heikki Linnakangas's avatar
      Automatically terminate replication connections that are idle for more · 754baa21
      Heikki Linnakangas authored
      than replication_timeout (a new GUC) milliseconds. The TCP timeout is often
      too long, you want the master to notice a dead connection much sooner.
      People complained about that in 9.0 too, but with synchronous replication
      it's even more important to notice dead connections promptly.
      
      Fujii Masao and Heikki Linnakangas
      754baa21
  18. Mar 28, 2011
  19. Mar 27, 2011
Loading