pgLogParser - Postgres Log Parser
###################################################

    pgLogParser is a perl script that parses entries in a PostgreSQL log file
    and outputs the information in a nice format.  Current only parses query logs


    Written by Stephen Howie (showie8@comcast.net)
    (c) 2003 showie
    Released under the BSD License.


    OVERVIEW:
    ####################################################################
	INSALL:

	tar zxfp pgLogParser.tgz
	or
	Unzip for Windows

    	USAGE:
    	
    	perl pglogparser.pl [filename] [> duration] [print type]
    		
    		print type: 	0 Default
    				1 Pretty
    	
    	OUTPUT:
    
    	[PID] [TIMESTAMP START]
    	[PID] [TIMESTAMP STOP]
    	[PID] [TIMESTAMP DUARATION]
    	[PID] [TIMESTAMP QUERY]
    
    	******must have these values in postgresql.conf*****
    		log_connections = yes
		log_pid = true
		log_statement = true
		log_duration = true
		log_timestamp = true
		
		syslog = 0,1
		
		show_parser_stats = false
		show_planner_stats = false
		show_executor_stats = false
		show_statement_stats = true
    
    
    TODO:
    ####################################################################
	-Test other configs
    	-Support other logfile entries
    
    
    Tested Platforms:
    ####################################################################
    	FreeBSD 4.x
     	-Postgres 7.3.1
     	-Perl 5.6
    
    	Please let me know if there are any problems under other platforms.
    
Stephen
