pgsql: Avoid assuming that the fields of struct timeval have exactly

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Avoid assuming that the fields of struct timeval have exactly
Date: 2007-05-24 18:54:10
Message-ID: 20070524185410.8298D9FB876@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Avoid assuming that the fields of struct timeval have exactly type long.
This is probably incorrect on some platforms, and definitely draws a
compiler warning on Darwin.

Modified Files:
--------------
pgsql/contrib/pgbench:
pgbench.c (r1.65 -> r1.66)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/pgbench/pgbench.c.diff?r1=1.65&r2=1.66)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2007-05-24 18:58:42 pgsql: Remove ruleutils.c's use of varnoold/varoattno as a shortcut for
Previous Message User Okbob 2007-05-24 11:33:26 orafce - orafce: support for record types for storing handlers