1. 12 Jun, 2007 13 commits
  2. 11 Jun, 2007 6 commits
  3. 09 Jun, 2007 3 commits
  4. 08 Jun, 2007 5 commits
  5. 07 Jun, 2007 5 commits
  6. 06 Jun, 2007 1 commit
    • Tom Lane's avatar
      Fix up text concatenation so that it accepts all the reasonable cases that · 2d4db367
      Tom Lane authored
      were accepted by prior Postgres releases.  This takes care of the loose end
      left by the preceding patch to downgrade implicit casts-to-text.  To avoid
      breaking desirable behavior for array concatenation, introduce a new
      polymorphic pseudo-type "anynonarray" --- the added concatenation operators
      are actually text || anynonarray and anynonarray || text.
      2d4db367
  7. 05 Jun, 2007 4 commits
    • Tom Lane's avatar
      7dab4f75
    • Tom Lane's avatar
      Downgrade implicit casts to text to be assignment-only, except for the ones · 31edbadf
      Tom Lane authored
      from the other string-category types; this eliminates a lot of surprising
      interpretations that the parser could formerly make when there was no directly
      applicable operator.
      
      Create a general mechanism that supports casts to and from the standard string
      types (text,varchar,bpchar) for *every* datatype, by invoking the datatype's
      I/O functions.  These new casts are assignment-only in the to-string direction,
      explicit-only in the other, and therefore should create no surprising behavior.
      Remove a bunch of thereby-obsoleted datatype-specific casting functions.
      
      The "general mechanism" is a new expression node type CoerceViaIO that can
      actually convert between *any* two datatypes if their external text
      representations are compatible.  This is more general than needed for the
      immediate feature, but might be useful in plpgsql or other places in future.
      
      This commit does nothing about the issue that applying the concatenation
      operator || to non-text types will now fail, often with strange error messages
      due to misinterpreting the operator as array concatenation.  Since it often
      (not always) worked before, we should either make it succeed or at least give
      a more user-friendly error; but details are still under debate.
      
      Peter Eisentraut and Tom Lane
      31edbadf
    • Jan Wieck's avatar
      The session_replication_role actually can be changed at will during · 1120b994
      Jan Wieck authored
      a session regardless of the existence of cached plans. The plancache
      only needs to be invalidated so that rules affected by the new setting
      will be reflected in the new query plans.
      
      Jan
      1120b994
    • Teodor Sigaev's avatar
      Move call of MarkBufferDirty() before XLogInsert() as required. · f7442628
      Teodor Sigaev authored
      Many thanks to Heikki Linnakangas <heikki@enterprisedb.com> for his
      sharp eyes.
      f7442628
  8. 04 Jun, 2007 3 commits
    • Andrew Dunstan's avatar
    • Andrew Dunstan's avatar
      Tidy overly long configure help lines. · 3da3c04f
      Andrew Dunstan authored
      3da3c04f
    • Teodor Sigaev's avatar
      Fix bundle bugs of GIN: · 853d1c31
      Teodor Sigaev authored
      - Fix possible deadlock between UPDATE and VACUUM queries. Bug never was
        observed in 8.2, but it still exist there. HEAD is more sensitive to
        bug after recent "ring" of buffer improvements.
      - Fix WAL creation: if parent page is stored as is after split then
        incomplete split isn't removed during replay. This happens rather rare, only
        on large tables with a lot of updates/inserts.
      - Fix WAL replay: there was wrong test of XLR_BKP_BLOCK_* for left
        page after deletion of page. That causes wrong rightlink field: it pointed
        to deleted page.
      - add checking of match of clearing incomplete split
      - cleanup incomplete split list after proceeding
      
      All of this chages doesn't change on-disk storage, so backpatch...
      But second point may be an issue for replaying logs from previous version.
      853d1c31