1. 08 Sep, 2006 1 commit
  2. 07 Sep, 2006 9 commits
    • Tom Lane's avatar
      Clean up logging for extended-query-protocol operations, as per my recent · 893632be
      Tom Lane authored
      proposal.  Parameter logging works even for binary-format parameters, and
      logging overhead is avoided when disabled.
      
      log_statement = all output for the src/test/examples/testlibpq3.c example
      now looks like
      
      LOG:  statement: execute <unnamed>: SELECT * FROM test1 WHERE t = $1
      DETAIL:  parameters: $1 = 'joe''s place'
      LOG:  statement: execute <unnamed>: SELECT * FROM test1 WHERE i = $1::int4
      DETAIL:  parameters: $1 = '2'
      
      and log_min_duration_statement = 0 results in
      
      LOG:  duration: 2.431 ms  parse <unnamed>: SELECT * FROM test1 WHERE t = $1
      LOG:  duration: 2.335 ms  bind <unnamed> to <unnamed>: SELECT * FROM test1 WHERE t = $1
      DETAIL:  parameters: $1 = 'joe''s place'
      LOG:  duration: 0.394 ms  execute <unnamed>: SELECT * FROM test1 WHERE t = $1
      DETAIL:  parameters: $1 = 'joe''s place'
      LOG:  duration: 1.251 ms  parse <unnamed>: SELECT * FROM test1 WHERE i = $1::int4
      LOG:  duration: 0.566 ms  bind <unnamed> to <unnamed>: SELECT * FROM test1 WHERE i = $1::int4
      DETAIL:  parameters: $1 = '2'
      LOG:  duration: 0.173 ms  execute <unnamed>: SELECT * FROM test1 WHERE i = $1::int4
      DETAIL:  parameters: $1 = '2'
      
      (This example demonstrates the folly of ignoring parse/bind steps for duration
      logging purposes, BTW.)
      
      Along the way, create a less ad-hoc mechanism for determining which commands
      are logged by log_statement = mod and log_statement = ddl.  The former coding
      was actually missing quite a few things that look like ddl to me, and it
      did not handle EXECUTE or extended query protocol correctly at all.
      
      This commit does not do anything about the question of whether log_duration
      should be removed or made less redundant with log_min_duration_statement.
      893632be
    • Bruce Momjian's avatar
      Update pgcvslog comments. · b6eab50c
      Bruce Momjian authored
      b6eab50c
    • Bruce Momjian's avatar
    • Michael Meskes's avatar
      Changing a test case also changes the output that is expected. · 803d9c39
      Michael Meskes authored
      Float/Long aliasing doesn't work on all architecures.
      803d9c39
    • Michael Meskes's avatar
      1d1868d9
    • Bruce Momjian's avatar
      HTLM cleanup. · ca6a4ff8
      Bruce Momjian authored
      ca6a4ff8
    • Bruce Momjian's avatar
      Update Emacs/vim editor info. · 8dc8f44f
      Bruce Momjian authored
      8dc8f44f
    • Bruce Momjian's avatar
      Update emacs info for FAQ_DEV. · c84db61c
      Bruce Momjian authored
      Andrew Dunstan
      c84db61c
    • Bruce Momjian's avatar
      Add XML documentation. · a8db61f8
      Bruce Momjian authored
      a8db61f8
  3. 06 Sep, 2006 5 commits
  4. 05 Sep, 2006 16 commits
  5. 04 Sep, 2006 9 commits