From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Giles Lean <giles(at)nemeton(dot)com(dot)au> |
Cc: | pgsql-bugs(at)postgresql(dot)org |
Subject: | Re: Bug #882: Cannot manually log in to database. |
Date: | 2003-01-25 05:22:56 |
Message-ID: | 6847.1043472176@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
Giles Lean <giles(at)nemeton(dot)com(dot)au> writes:
> Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:
>>> utimes("/tmp/.s.PGSQL.5432", (const struct timeval *) 0);
>>
>> Hm, do you think that's portable?
> Hm ... yes, actually I do. I use it on HP-UX, and testing indicates
> that it works on FreeBSD, Linux, NetBSD and Tru64 as well.
Some digging about on the net revealed that there is a very similar
function utime() that is POSIX-standard, whereas utimes() is not.
Accordingly, I bit the bullet and put in a configure test to see which
one(s) we have. With any luck, this will hold up through 7.4's port
testing.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2003-01-26 03:09:59 | Re: stored procedure namespace bug (critical) + COALECSE notice |
Previous Message | Tom Lane | 2003-01-25 03:35:45 | Re: Bug #882: Cannot manually log in to database. |