patch to implement ECPG side tracing / tracking ...

Hans-Juergen Schoenig <hs@cybertec.at>

From: Hans-Jürgen Schönig <hs@cybertec.at>
To: PG Hackers <pgsql-hackers@postgresql.org>
Cc: Michael Meskes <meskes@postgresql.org>
Date: 2010-01-12T23:07:13Z
Lists: pgsql-hackers

Attachments

hi,

this patch implements SQL side tracing / tracking of statements and  
statement execution times.
it is primarily intended to allow programmers to gather information  
about the runtime behavior of a program and to figure out easily where  
the bottlenecks are.
i used the ECPG prepared statement infrastructure to implement this.
the goal of this code is allow people to port code from databases such  
as Informix to PostgreSQL more easily and to figure out as fast as  
possible which types of queries are fast and which ones are slow.

	best regards,

		hans