This patch replace _ftime() by QueryPerformanceCounter() to measure durations in psql \timing on Windows. It had only 15ms~ of time resolusion. I brought the codes from src/include/executor/instrument.h .
Regards, --- ITAGAKI Takahiro NTT Open Source Software Center
psql_timing_on_windows.patch
Description: Binary data
---------------------------(end of broadcast)--------------------------- TIP 2: Don't 'kill -9' the postmaster