Re: changes to support logging
| От | Tom Lane |
|---|---|
| Тема | Re: changes to support logging |
| Дата | |
| Msg-id | 15403.1060267500@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | changes to support logging (Andrew Dunstan <andrew@dunslane.net>) |
| Ответы |
Re: changes to support logging
|
| Список | pgsql-hackers |
Andrew Dunstan <andrew@dunslane.net> writes:
> I've noticed an inconsistency in calls to gettimeofday(): sometimes it
> is passed a struct tz (which is ignored) as the second argument, and
> sometimes NULL as the second argument. My understanding is that the
> second argument is basically useless anyway - on my Linux box man
> gettimeofday says this:
You are confusing the second argument with something else (a field in
the first argument struct). However, if we're assuming that NULL works
in some places, we may as well use it everywhere that it makes sense.
regards, tom lane
В списке pgsql-hackers по дате отправления: