mirror of
https://git.postgresql.org/git/postgresql.git
synced 2026-02-16 03:17:00 +08:00
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
This commit is contained in:
@ -222,8 +222,8 @@ typedef unsigned int pg_wchar;
|
||||
* PostgreSQL encoding identifiers
|
||||
*
|
||||
* WARNING: the order of this enum must be same as order of entries
|
||||
* in the pg_enc2name_tbl[] array (in mb/encnames.c), and
|
||||
* in the pg_wchar_table[] array (in mb/wchar.c)!
|
||||
* in the pg_enc2name_tbl[] array (in src/common/encnames.c), and
|
||||
* in the pg_wchar_table[] array (in src/common/wchar.c)!
|
||||
*
|
||||
* If you add some encoding don't forget to check
|
||||
* PG_ENCODING_BE_LAST macro.
|
||||
|
||||
Reference in New Issue
Block a user