summaryrefslogtreecommitdiff
path: root/src/common/saslprep.c
diff options
context:
space:
mode:
authorTom Lane2020-01-16 20:56:32 +0000
committerTom Lane2020-01-16 20:58:55 +0000
commite6afa8918c461c1dd80c5063a950518fa4e950cd (patch)
tree00a11500527f8b29966fd441de6dee8449b5bc97 /src/common/saslprep.c
parent2eb34ac369741c110b593e2dc2195c57d29ab8e8 (diff)
Move wchar.c and encnames.c to src/common/.
Formerly, various frontend directories symlinked these two sources and then built them locally. That's an ancient, ugly hack, and we now have a much better way: put them into libpgcommon. So do that. (The immediate motivation for this is the prospect of having to introduce still more symlinking if we don't.) This commit moves these two files absolutely verbatim, for ease of reviewing the git history. There's some follow-on work to be done that will modify them a bit. Robert Haas, Tom Lane Discussion: https://postgr.es/m/CA+TgmoYO8oq-iy8E02rD8eX25T-9SmyxKWqqks5OMHxKvGXpXQ@mail.gmail.com
Diffstat (limited to 'src/common/saslprep.c')
-rw-r--r--src/common/saslprep.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/common/saslprep.c b/src/common/saslprep.c
index 2a2449e97b4..7739b81807e 100644
--- a/src/common/saslprep.c
+++ b/src/common/saslprep.c
@@ -27,12 +27,6 @@
#include "common/saslprep.h"
#include "common/unicode_norm.h"
-
-/*
- * Note: The functions in this file depend on functions from
- * src/backend/utils/mb/wchar.c, so in order to use this in frontend
- * code, you will need to link that in, too.
- */
#include "mb/pg_wchar.h"
/*