git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: c1494b7) | patch
pg_upgrade: fix off-by-one mistake in snprintf
2012年6月29日 03:37:27 +0000 (23:37 -0400)
2012年6月29日 03:37:27 +0000 (23:37 -0400)
commit 9e26326ad6cd11ac32d11e6cbeb613443f361da6
pg_upgrade: fix off-by-one mistake in snprintf

snprintf counts trailing NUL towards the char limit. Failing to account
for that was causing an invalid value to be passed to pg_resetxlog -l,
aborting the upgrade process.
contrib/pg_upgrade/controldata.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /