pqa - pqa: This patch makes a great deal of changes in the structure : -

From: tfavier(at)pgfoundry(dot)org (User Tfavier)
To: pgsql-committers(at)postgresql(dot)org
Subject: pqa - pqa: This patch makes a great deal of changes in the structure : -
Date: 2005-01-27 22:15:33
Message-ID: 20050127221533.5064EAAD88B@pgfoundry.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
This patch makes a great deal of changes in the structure :
- parser is now a line factory
- one accumulator for both pg/syslog (might be common with MySQL's)
- 2 parsers for syslog and pglog, but inheriting from a common pg parser
- one line object class by line type
- a LogStreamer, that follows pids and manage a query stack for dealing with contexts
- Accumulator is now linked to LogStreamer,

It solves/adds/modify/breaks those :
- Factorized Both PG parsers

- solves bug 1000211 "PQA 1.4, PG 8.0 incompatibility" (works on the attached sample)

- should solve bug 1000006 "PG log line continuations are sometimes skipped" (as r1.76 should)

- seems to solve bug 1000201 "./pga.rb:521:in cannot convert nil into Float (TypeError)" : tested on attached log : works.

- include patch equivalent to Patch 1000226 "Tracking pid in PGlog"

- adds feature request 1000189 "option to parse query info out of duration line"

- breaks MySQL support : need to create MySQLLine classes and parser

- Added framework for a future SQL error report.

Modified Files:
--------------
pqa/lib:
pqa.rb (r1.78 -> r1.79)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pqa/pqa/lib/pqa.rb.diff?r1=1.78&r2=1.79)

Browse pgsql-committers by date

  From Date Subject
Next Message User Tfavier 2005-01-27 22:34:35 pqa - pqa: Fix Typo Minor correction for ruby 1.8
Previous Message Tom Lane 2005-01-27 21:50:26 pgsql: Now that I look at it, int_array_enum() didn't work either.