postgresql/contrib/pg_upgrade
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
..
.gitignore
check.c Fix pg_upgrade for invalid indexes 2012-12-11 15:09:22 -05:00
controldata.c pg_upgrade: fix off-by-one mistake in snprintf 2012-06-28 23:37:27 -04:00
dump.c Improve pg_upgrade's status display 2012-12-07 12:26:13 -05:00
exec.c In pg_upgrade, dump each database separately and use 2012-11-30 16:30:13 -05:00
file.c In pg_upgrade, simplify function copy_file() by using pg_malloc() and 2012-11-24 22:39:03 -05:00
function.c Run pgindent on 9.2 source tree in preparation for first 9.3 2012-06-10 15:20:04 -04:00
IMPLEMENTATION
info.c Avoid using NAMEDATALEN in pg_upgrade 2012-12-20 13:56:31 -05:00
Makefile Remove analyze_new_cluster.sh on make clean, too 2012-08-27 14:29:14 -04:00
option.c In pg_upgrade, pull the port number from postmaster.pid, like we do for 2012-09-03 22:15:09 -04:00
page.c
pg_upgrade.c Improve pg_upgrade's status display 2012-12-07 12:26:13 -05:00
pg_upgrade.h Avoid using NAMEDATALEN in pg_upgrade 2012-12-20 13:56:31 -05:00
relfilenode.c Improve pg_upgrade's status display 2012-12-07 12:26:13 -05:00
server.c Fix pg_upgrade -O/-o options 2012-12-10 23:03:25 -05:00
tablespace.c Run pgindent on 9.2 source tree in preparation for first 9.3 2012-06-10 15:20:04 -04:00
test.sh In pg_upgrade testing script, turn off command echo at the end so status 2012-12-04 08:17:45 -05:00
TESTING
util.c Improve pg_upgrade's status display 2012-12-07 12:26:13 -05:00
version_old_8_3.c Run pgindent on 9.2 source tree in preparation for first 9.3 2012-06-10 15:20:04 -04:00
version.c