pgsql: Make the win32 implementation of getrusage() return EINVAL if

From: mha(at)postgresql(dot)org (Magnus Hagander)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Make the win32 implementation of getrusage() return EINVAL if
Date: 2008-05-14 07:28:13
Message-ID: 20080514072813.87BAA7559E9@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Make the win32 implementation of getrusage() return EINVAL if being
asked for anything other than RUSAGE_SELF, since it's not supported.

This is never called anywhere in the code today, but might be in
the future.

Not backpatching, since it's not called anywhere today.

Modified Files:
--------------
pgsql/src/port:
getrusage.c (r1.14 -> r1.15)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/port/getrusage.c?r1=1.14&r2=1.15)

Browse pgsql-committers by date

  From Date Subject
Next Message User Mkz 2008-05-14 12:15:55 plproxy - plproxy: Reset cluster_sql on parser entry.
Previous Message Bruce Momjian 2008-05-14 04:07:01 pgsql: Remove odd duplicate wording in psql pager section.