pqa - pqa: This patch makes a great deal of changes in the structure : - - Mailing list pgsql-committers

From tfavier@pgfoundry.org (User Tfavier)
Subject pqa - pqa: This patch makes a great deal of changes in the structure : -
Date
Msg-id 20050127221533.5064EAAD88B@pgfoundry.org
Whole thread Raw
List 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)

pgsql-committers by date:

Previous
From: tgl@svr1.postgresql.org (Tom Lane)
Date:
Subject: pgsql: Now that I look at it, int_array_enum() didn't work either.
Next
From: tfavier@pgfoundry.org (User Tfavier)
Date:
Subject: pqa - pqa: Fix Typo Minor correction for ruby 1.8