Re: Auto-explain patch

Поиск
Список
Период
Сортировка
От David Fetter
Тема Re: Auto-explain patch
Дата
Msg-id 20080128200800.GE21175@fetter.org
обсуждение исходный текст
Ответ на Re: Auto-explain patch  (Dean Rasheed <dean_rasheed@hotmail.com>)
Ответы Re: Auto-explain patch  (Dean Rasheed <dean_rasheed@hotmail.com>)
Список pgsql-patches
On Mon, Jan 28, 2008 at 07:55:53PM +0000, Dean Rasheed wrote:
>
> > 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.fetter@gmail.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.

It's the double part I don't quite get.  Shouldn't that be an int64 in
the case of INTEGER_DATETIMES?

Cheers,
David.

>
> 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
--
David Fetter <david@fetter.org> http://fetter.org/
Phone: +1 415 235 3778  AIM: dfetter666  Yahoo!: dfetter
Skype: davidfetter      XMPP: david.fetter@gmail.com

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate

В списке pgsql-patches по дате отправления:

Предыдущее
От: Dean Rasheed
Дата:
Сообщение: Re: Auto-explain patch
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Friendly help for psql