Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Haas2020-02-27 03:55:41 +0000
committerRobert Haas2020-02-27 03:55:41 +0000
commit05d8449e73694585b59f8b03aaa087f04cc4679a (patch)
tree0198e4d1dfc2774dbc58d24f148af4dd8fb2cd47 /src/backend/access/tablesample
parent008cf040962c98c7c55d54c28dcb43c3c1d83c92 (diff)
Move src/backend/utils/hash/hashfn.c to src/common
This also involves renaming src/include/utils/hashutils.h, which becomes src/include/common/hashfn.h. Perhaps an argument can be made for keeping the hashutils.h name, but it seemed more consistent to make it match the name of the file, and also more descriptive of what is actually going on here. Patch by me, reviewed by Suraj Kharage and Mark Dilger. Off-list advice on how not to break the Windows build from Davinder Singh and Amit Kapila. Discussion: http://postgr.es/m/CA+TgmoaRiG4TXND8QuM6JXFRkM_1wL2ZNhzaUKsuec9-4yrkgw@mail.gmail.com
Diffstat (limited to 'src/backend/access/tablesample')
-rw-r--r--src/backend/access/tablesample/bernoulli.c2
-rw-r--r--src/backend/access/tablesample/system.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/access/tablesample/bernoulli.c b/src/backend/access/tablesample/bernoulli.c
index 46016fb5de6..606730d6cbe 100644
--- a/src/backend/access/tablesample/bernoulli.c
+++ b/src/backend/access/tablesample/bernoulli.c
@@ -28,9 +28,9 @@
#include "access/tsmapi.h"
#include "catalog/pg_type.h"
+#include "common/hashfn.h"
#include "optimizer/optimizer.h"
#include "utils/builtins.h"
-#include "utils/hashutils.h"
/* Private state */
diff --git a/src/backend/access/tablesample/system.c b/src/backend/access/tablesample/system.c
index 8a5f03bfd3e..29b7c0d3c28 100644
--- a/src/backend/access/tablesample/system.c
+++ b/src/backend/access/tablesample/system.c
@@ -29,9 +29,9 @@
#include "access/relscan.h"
#include "access/tsmapi.h"
#include "catalog/pg_type.h"
+#include "common/hashfn.h"
#include "optimizer/optimizer.h"
#include "utils/builtins.h"
-#include "utils/hashutils.h"
/* Private state */