Don't require users of src/port/gettimeofday.c to initialize it.
authorRobert Haas <rhaas@postgresql.org>
Sat, 21 Feb 2015 17:13:47 +0000 (12:13 -0500)
committerRobert Haas <rhaas@postgresql.org>
Sat, 21 Feb 2015 17:17:04 +0000 (12:17 -0500)
commit64235fecc6d377690444ca3702257b5e39ed3413
treea9009c102cf8f491951ddc3a0ff02d1881cec16c
parentf2874feb7c4e71200539c0287544eeebd8fcb3d4
Don't require users of src/port/gettimeofday.c to initialize it.

Commit 8001fe67a3d66c95861ce1f7075ef03953670d13 introduced this
requirement, but per discussion, we want to avoid requirements of
this type to make things easier on the calling code.  An especially
important consideration is that this may be used in frontend code,
not just the backend.

Asif Naeem, reviewed by Michael Paquier
src/backend/main/main.c
src/include/port.h
src/port/gettimeofday.c