Bruce Momjian dc9896a245 Avoid using NAMEDATALEN in pg_upgrade
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.
2012-12-20 13:56:31 -05:00
..
2012-12-11 15:09:22 -05:00
2012-12-07 12:26:13 -05:00
2012-12-20 13:56:31 -05:00
2012-01-01 18:01:58 -05:00
2012-12-10 23:03:25 -05:00
2012-05-15 22:19:41 +03:00
2012-12-07 12:26:13 -05:00