Re: changes to support logging

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: Postgresql Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: changes to support logging
Date: 2003-08-07 14:45:00
Message-ID: 15403.1060267500@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andrew Dunstan <andrew(at)dunslane(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2003-08-07 14:46:47 Re: 7.4beta1 build problem on unixware
Previous Message Andrew Dunstan 2003-08-07 14:26:54 changes to support logging