1. 06 May, 2005 9 commits
  2. 05 May, 2005 11 commits
  3. 04 May, 2005 3 commits
  4. 03 May, 2005 4 commits
  5. 02 May, 2005 5 commits
  6. 01 May, 2005 4 commits
  7. 30 Apr, 2005 4 commits
    • Tom Lane's avatar
      Change catalog entries for record_out and record_send to show only one · 7f8d2fe3
      Tom Lane authored
      argument, since that's all they are using now.  Adjust type_sanity
      regression test so that it will complain if anyone tries to define
      multiple-argument output functions in future.
      7f8d2fe3
    • Tom Lane's avatar
      Make record_out and record_send extract type information from the passed · d7018abe
      Tom Lane authored
      record object itself, rather than relying on a second OID argument to be
      correct.  This patch just changes the function behavior and not the
      catalogs, so it's OK to back-patch to 8.0.  Will remove the now-redundant
      second argument in pg_proc in a separate patch in HEAD only.
      d7018abe
    • Tom Lane's avatar
      Use the standard lock manager to establish priority order when there · 93b24772
      Tom Lane authored
      is contention for a tuple-level lock.  This solves the problem of a
      would-be exclusive locker being starved out by an indefinite succession
      of share-lockers.  Per recent discussion with Alvaro.
      93b24772
    • Neil Conway's avatar
      GCC 4.0 includes a new warning option, -Wformat-literal, that emits · 47458f8c
      Neil Conway authored
      a warning when a variable is used as a format string for printf()
      and similar functions (if the variable is derived from untrusted
      data, it could include unexpected formatting sequences). This
      emits too many warnings to be enabled by default, but it does
      flag a few dubious constructs in the Postgres tree. This patch
      fixes up the obvious variants: functions that are passed a variable
      format string but no additional arguments.
      
      Most of these are harmless (e.g. the ruleutils stuff), but there
      is at least one actual bug here: if you create a trigger named
      "%sfoo", pg_dump will read uninitialized memory and fail to dump
      the trigger correctly.
      47458f8c