Update header comments for wchar.c and encnames.c.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 16 Jan 2020 20:58:24 +0000 (15:58 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 16 Jan 2020 20:58:55 +0000 (15:58 -0500)
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

src/common/encnames.c
src/common/wchar.c

index 12b61cd3db9d9460d7d6c415d62cd4d728cf61fd..2086e007fc547b9be20ace86c76f0dc432a2ab0b 100644 (file)
@@ -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"
index 02e2588ffe12d6dd3f89c0fcc395735d15653d8d..74a88239a1dc08e06482faecb89c04336622aff5 100644 (file)
@@ -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