Skip site navigation (1) Skip section navigation (2)

pgsql: Write a WAL record whenever we perform an operation without

From: heikki(at)postgresql(dot)org (Heikki Linnakangas)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Write a WAL record whenever we perform an operation without
Date: 2010-01-20 19:43:40
Message-ID: 20100120194340.9B2097541B9@cvs.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committerspgsql-hackers
Log Message:
-----------
Write a WAL record whenever we perform an operation without WAL-logging
that would've been WAL-logged if archiving was enabled. If we encounter
such records in archive recovery anyway, we know that some data is
missing from the log. A WARNING is emitted in that case.

Original patch by Fujii Masao, with changes by me.

Modified Files:
--------------
    pgsql/src/backend/access/heap:
        heapam.c (r1.282 -> r1.283)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/heap/heapam.c?r1=1.282&r2=1.283)
    pgsql/src/backend/access/nbtree:
        nbtsort.c (r1.122 -> r1.123)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/nbtree/nbtsort.c?r1=1.122&r2=1.123)
    pgsql/src/backend/access/transam:
        xlog.c (r1.358 -> r1.359)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/transam/xlog.c?r1=1.358&r2=1.359)
    pgsql/src/backend/commands:
        cluster.c (r1.193 -> r1.194)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/cluster.c?r1=1.193&r2=1.194)
        tablecmds.c (r1.316 -> r1.317)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/tablecmds.c?r1=1.316&r2=1.317)
    pgsql/src/include/access:
        xlog.h (r1.97 -> r1.98)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/access/xlog.h?r1=1.97&r2=1.98)
    pgsql/src/include/catalog:
        pg_control.h (r1.48 -> r1.49)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/catalog/pg_control.h?r1=1.48&r2=1.49)

Responses

pgsql-hackers by date

Next:From: David FetterDate: 2010-01-20 20:10:41
Subject: Re: Synchronization primitives (Was: Re: An example of bugs for Hot Standby)
Previous:From: Magnus HaganderDate: 2010-01-20 19:27:04
Subject: Re: [NOVICE] Python verison for build in config.pl (Win32)

pgsql-committers by date

Next:From: Heikki LinnakangasDate: 2010-01-20 20:34:51
Subject: pgsql: Fix bogus subdir setting.
Previous:From: Heikki LinnakangasDate: 2010-01-20 18:54:27
Subject: pgsql: Now that much of walreceiver has been pulled back into the

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group