From bd94a9c04e04bb3b626e88981a50fcca2bd99d60 Mon Sep 17 00:00:00 2001 From: Michael Paquier Date: Fri, 4 Dec 2020 12:58:44 +0900 Subject: [PATCH] Rename cryptohashes.c to cryptohashfuncs.c 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/X8hHhaQgbMbW+aGU@paquier.xyz --- src/backend/utils/adt/Makefile | 2 +- src/backend/utils/adt/{cryptohashes.c => cryptohashfuncs.c} | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename src/backend/utils/adt/{cryptohashes.c => cryptohashfuncs.c} (98%) diff --git a/src/backend/utils/adt/Makefile b/src/backend/utils/adt/Makefile index b4d55e849b3..f6ec7b64cd4 100644 --- a/src/backend/utils/adt/Makefile +++ b/src/backend/utils/adt/Makefile @@ -22,7 +22,7 @@ OBJS = \ bool.o \ cash.o \ char.o \ - cryptohashes.o \ + cryptohashfuncs.o \ date.o \ datetime.o \ datum.o \ diff --git a/src/backend/utils/adt/cryptohashes.c b/src/backend/utils/adt/cryptohashfuncs.c similarity index 98% rename from src/backend/utils/adt/cryptohashes.c rename to src/backend/utils/adt/cryptohashfuncs.c index 5de294a7fda..47bc0b34828 100644 --- a/src/backend/utils/adt/cryptohashes.c +++ b/src/backend/utils/adt/cryptohashfuncs.c @@ -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 * *------------------------------------------------------------------------- */