Supporting CSV format log files - Mailing list pgadmin-hackers

From Chuck McDevitt
Subject Supporting CSV format log files
Date
Msg-id 2106D8DC89010842BABA5CD03FEA4061CA55CCD7@EXVMBX018-10.exch018.msoutlookonline.net
Whole thread Raw
In response to New patch for bugs in GPDB csv format log handling  (Chuck McDevitt <cmcdevitt@greenplum.com>)
Responses Re: Supporting CSV format log files  (Dave Page <dpage@pgadmin.org>)
List pgadmin-hackers
To extend this to support PostgreSQL 8.4 CSV format log files, I think we need to do a couple of things:

First, the pg_logdir_ls function from the admin pack would need to be updated to look for .log or .csv files, not just
.log.

Then we would need to recognize that we are reading a file with extension .csv, and handle it the way I do in the patch
forGPDB (rather than being based on GetIsGreenplum()).
 

Finally, we'd just need to figure out what each field being logged by PostgreSQL 8.4 is, and update the code so that it
understandsthat as well as the GPDB fields.
 

> -----Original Message-----
> From: pgadmin-hackers-owner@postgresql.org [mailto:pgadmin-hackers-
> owner@postgresql.org] On Behalf Of Chuck McDevitt
> Sent: Thursday, June 04, 2009 7:40 PM
> To: pgadmin-hackers@postgresql.org
> Subject: [pgadmin-hackers] New patch for bugs in GPDB csv format log
> handling
> 
> This patch fixes many problems in the handling of GPDB CSV format logs
> for the frmStatus display.
> 
> It's also a useful start for supporting PostgreSQL 8.4 CSV format logs.


pgadmin-hackers by date:

Previous
From: Guillaume Lelarge
Date:
Subject: Re: Untranslated command line help
Next
From: Dave Page
Date:
Subject: Re: Supporting CSV format log files