postgresql/src/bin/initdb
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
..
po Translation updates 2011-08-17 14:07:46 +03:00
.gitignore Simplify handling of the timezone GUC by making initdb choose the default. 2011-09-09 17:59:11 -04:00
findtimezone.c Run pgindent on 9.2 source tree in preparation for first 9.3 2012-06-10 15:20:04 -04:00
initdb.c Avoid using NAMEDATALEN in pg_upgrade 2012-12-20 13:56:31 -05:00
Makefile Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
nls.mk Add new files to NLS file lists 2012-03-30 20:46:23 +03:00