Skip site navigation (1) Skip section navigation (2)

Re: Auto-explain patch

From: Dean Rasheed <dean_rasheed(at)hotmail(dot)com>
To: David Fetter <david(at)fetter(dot)org>
Cc: <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Auto-explain patch
Date: 2008-01-28 19:55:53
Message-ID: BAY113-W342DE8A62B65BFAF399124F2340@phx.gbl (view raw or flat)
Thread:
Lists: pgsql-patches
> Dean,
>
> Maybe I missed something obvious here, but how does this patch handle
> the situation where people have turned on INTEGER_DATETIMES?
>
> Cheers,
> David.
> --
> David Fetter  http://fetter.org/
> Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter
> Skype: davidfetter XMPP: david(dot)fetter(at)gmail(dot)com
>
> Remember to vote!
> Consider donating to Postgres: http://www.postgresql.org/about/donate

Sorry, I don't understand. I am new to this code, but I can't see how the INTEGER_DATETIMES flag will affect this code. I am using the macros and functions from instrument.h and explain.c for timing, which appear to use gettimeofday() or QueryPerformanceCounter(), coverting the result to a double to report the total time spent running the query.

As far as I can see, the INTEGER_DATETIMES flag doesn't affect this code. Am I missing something?

Dean.

_________________________________________________________________
Free games, great prizes - get gaming at Gamesbox. 
http://www.searchgamesbox.com

In response to

Responses

pgsql-patches by date

Next:From: David FetterDate: 2008-01-28 20:08:00
Subject: Re: Auto-explain patch
Previous:From: Greg Sabino MullaneDate: 2008-01-28 19:55:22
Subject: Re: [PATCHES] Friendly help for psql

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group