Rename cryptohashes.c to cryptohashfuncs.c
authorMichael Paquier <[email protected]>
Fri, 4 Dec 2020 03:58:44 +0000 (12:58 +0900)
committerMichael Paquier <[email protected]>
Fri, 4 Dec 2020 03:58:44 +0000 (12:58 +0900)
87ae969 has created two new files called cryptohash{_openssl}.c in
src/common/, whose names overlap with the existing backend file called
cryptohashes.c dedicated to the SQL wrappers for SHA2 and MD5.  This
file is renamed to cryptohashfuncs.c to be more consistent with the
surroundings and reduce the confusion with the new cryptohash interface
of src/common/.

Author: Michael Paquier
Reviewed-by: Daniel Gustafsson
Discussion: https://postgr.es/m/[email protected]

src/backend/utils/adt/Makefile
src/backend/utils/adt/cryptohashfuncs.c [moved from src/backend/utils/adt/cryptohashes.c with 98% similarity]

index b4d55e849b3d4aab3482159822669d9acd407397..f6ec7b64cd49368eb8d056583262fa40084e9623 100644 (file)
@@ -22,7 +22,7 @@ OBJS = \
    bool.o \
    cash.o \
    char.o \
-   cryptohashes.o \
+   cryptohashfuncs.o \
    date.o \
    datetime.o \
    datum.o \
similarity index 98%
rename from src/backend/utils/adt/cryptohashes.c
rename to src/backend/utils/adt/cryptohashfuncs.c
index 5de294a7fda5611acd7ad4d18b9fb61b362424c2..47bc0b34828e3f4fbcf6df3c1bf8e5022a09c314 100644 (file)
@@ -1,13 +1,13 @@
 /*-------------------------------------------------------------------------
  *
- * cryptohashes.c
+ * cryptohashfuncs.c
  *   Cryptographic hash functions
  *
  * Portions Copyright (c) 2018-2020, PostgreSQL Global Development Group
  *
  *
  * IDENTIFICATION
- *   src/backend/utils/adt/cryptohashes.c
+ *   src/backend/utils/adt/cryptohashfuncs.c
  *
  *-------------------------------------------------------------------------
  */