summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2016-10-18 16:28:23 +0300
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2016-10-18 16:28:23 +0300
commitfaae1c918e8aaae034eaf3ea103fcb6ba9adc5ab (patch)
tree4d2739ac51be02b6701d9d9c14e7e1058f8d5fe0 /src/include
parent7d3235ba42f8d5fc70c58e242702cc5e2e3549a6 (diff)
Revert "Replace PostmasterRandom() with a stronger way of generating randomness."
This reverts commit 9e083fd4683294f41544e6d0d72f6e258ff3a77c. That was a few bricks shy of a load: * Query cancel stopped working * Buildfarm member pademelon stopped working, because the box doesn't have /dev/urandom nor /dev/random. This clearly needs some more discussion, and a quite different patch, so revert for now.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/port.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/include/port.h b/src/include/port.h
index 4bb9feeb019..b81fa4a89eb 100644
--- a/src/include/port.h
+++ b/src/include/port.h
@@ -454,9 +454,6 @@ extern int pg_codepage_to_encoding(UINT cp);
extern char *inet_net_ntop(int af, const void *src, int bits,
char *dst, size_t size);
-/* port/pg_strong_random.c */
-extern bool pg_strong_random(void *buf, size_t len);
-
/* port/pgcheckdir.c */
extern int pg_check_dir(const char *dir);