mirror of
https://github.com/postgres/postgres.git
synced 2025-11-28 11:44:57 +03:00
Because the client encoding might not match the server encoding, pg_upgrade can't allocate NAMEDATALEN bytes for storage of database, relation, and namespace identifiers. Instead pg_strdup() the memory and free it. Also add C comment in initdb.c about safe NAMEDATALEN usage.
12 KiB
12 KiB