From: Heikki Linnakangas Date: Tue, 8 Feb 2011 07:03:08 +0000 (+0200) Subject: Fix copy-pasto in description of pg_serial, and silence compiler warning X-Git-Tag: REL9_1_ALPHA4~249 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7202ad7b8dd07864092be70287fe971ec72a3fbc;p=thirdparty%2Fpostgresql.git Fix copy-pasto in description of pg_serial, and silence compiler warning about uninitialized field you get on some compilers. --- diff --git a/doc/src/sgml/storage.sgml b/doc/src/sgml/storage.sgml index c2e927214f5..90c3e061b24 100644 --- a/doc/src/sgml/storage.sgml +++ b/doc/src/sgml/storage.sgml @@ -83,7 +83,7 @@ Item - pg_subtrans + pg_serial Subdirectory containing information about committed serializable transactions diff --git a/src/backend/storage/lmgr/predicate.c b/src/backend/storage/lmgr/predicate.c index 5e62ba9e4d9..b66fd8678cc 100644 --- a/src/backend/storage/lmgr/predicate.c +++ b/src/backend/storage/lmgr/predicate.c @@ -3671,7 +3671,7 @@ CheckForSerializableConflictOut(const bool visible, const Relation relation, static void CheckTargetForConflictsIn(PREDICATELOCKTARGETTAG *targettag) { - PREDICATELOCKTARGETTAG nexttargettag; + PREDICATELOCKTARGETTAG nexttargettag = { 0 }; PREDICATELOCKTARGETTAG thistargettag; for (;;)