Thread: pgsql: Fix pg_stat_statements for EXEC_BACKEND case.

pgsql: Fix pg_stat_statements for EXEC_BACKEND case.

From
tgl@postgresql.org (Tom Lane)
Date:
Log Message:
-----------
Fix pg_stat_statements for EXEC_BACKEND case.

We should not try to load old statistics when re-attaching to existing
shared memory.  Per bug #4941.

Itagaki Takahiro

Tags:
----
REL8_4_STABLE

Modified Files:
--------------
    pgsql/contrib/pg_stat_statements:
        pg_stat_statements.c (r1.3 -> r1.3.2.1)

(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/pg_stat_statements/pg_stat_statements.c?r1=1.3&r2=1.3.2.1)