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-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=7202ad7b8dd07864092be70287fe971ec72a3fbc;p=users%2Fhanada%2Fpostgres.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 c2e927214f..90c3e061b2 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 5e62ba9e4d..b66fd8678c 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 (;;)