summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane2020-01-16 20:58:24 +0000
committerTom Lane2020-01-16 20:58:55 +0000
commit3d4cb5d6c180e38ebf84f6403cfa18c09d0b738e (patch)
treec00d81ed80f4ad926e838b9e1c5dc4fda161cf61
parente6afa8918c461c1dd80c5063a950518fa4e950cd (diff)
Update header comments for wchar.c and encnames.c.
Bring these into common style (including having proper copyright notices) and adjust their self-declaration of where they live. Discussion: https://postgr.es/m/CA+TgmoYO8oq-iy8E02rD8eX25T-9SmyxKWqqks5OMHxKvGXpXQ@mail.gmail.com
-rw-r--r--src/common/encnames.c14
-rw-r--r--src/common/wchar.c15
2 files changed, 20 insertions, 9 deletions
diff --git a/src/common/encnames.c b/src/common/encnames.c
index 12b61cd3db..2086e007fc 100644
--- a/src/common/encnames.c
+++ b/src/common/encnames.c
@@ -1,8 +1,14 @@
-/*
- * Encoding names and routines for work with it. All
- * in this file is shared between FE and BE.
+/*-------------------------------------------------------------------------
+ *
+ * encnames.c
+ * Encoding names and routines for working with them.
+ *
+ * Portions Copyright (c) 2001-2020, PostgreSQL Global Development Group
+ *
+ * IDENTIFICATION
+ * src/common/encnames.c
*
- * src/backend/utils/mb/encnames.c
+ *-------------------------------------------------------------------------
*/
#ifdef FRONTEND
#include "postgres_fe.h"
diff --git a/src/common/wchar.c b/src/common/wchar.c
index 02e2588ffe..74a88239a1 100644
--- a/src/common/wchar.c
+++ b/src/common/wchar.c
@@ -1,10 +1,15 @@
-/*
- * conversion functions between pg_wchar and multibyte streams.
- * Tatsuo Ishii
- * src/backend/utils/mb/wchar.c
+/*-------------------------------------------------------------------------
+ *
+ * wchar.c
+ * Functions for working with multibyte characters in various encodings.
+ *
+ * Portions Copyright (c) 1998-2020, PostgreSQL Global Development Group
+ *
+ * IDENTIFICATION
+ * src/common/wchar.c
*
+ *-------------------------------------------------------------------------
*/
-/* can be used in either frontend or backend */
#ifdef FRONTEND
#include "postgres_fe.h"
#else