diff options
author | Robert Haas <rhaas@postgresql.org> | 2015-02-21 12:13:47 -0500 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2015-02-21 12:17:04 -0500 |
commit | 64235fecc6d377690444ca3702257b5e39ed3413 (patch) | |
tree | a9009c102cf8f491951ddc3a0ff02d1881cec16c /src/backend | |
parent | f2874feb7c4e71200539c0287544eeebd8fcb3d4 (diff) | |
download | postgresql-64235fecc6d377690444ca3702257b5e39ed3413.tar.gz postgresql-64235fecc6d377690444ca3702257b5e39ed3413.zip |
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
Diffstat (limited to 'src/backend')
-rw-r--r-- | src/backend/main/main.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/backend/main/main.c b/src/backend/main/main.c index 582198fbe15..2f07a58a4c8 100644 --- a/src/backend/main/main.c +++ b/src/backend/main/main.c @@ -261,12 +261,6 @@ startup_hacks(const char *progname) /* In case of general protection fault, don't show GUI popup box */ SetErrorMode(SEM_FAILCRITICALERRORS | SEM_NOGPFAULTERRORBOX); - -#ifndef HAVE_GETTIMEOFDAY - /* Figure out which syscall to use to capture timestamp information */ - init_win32_gettimeofday(); -#endif - } #endif /* WIN32 */ |