Обсуждение: pgsql: Avoid assuming that the fields of struct timeval have exactly

Поиск
Список
Период
Сортировка

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

От
tgl@postgresql.org (Tom Lane)
Дата:
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)