|
14 | 14 | * Copyright (c) 2008-2009, PostgreSQL Global Development Group
|
15 | 15 | *
|
16 | 16 | * IDENTIFICATION
|
17 |
| - * $PostgreSQL: pgsql/contrib/pg_stat_statements/pg_stat_statements.c,v 1.3 2009/06/11 14:48:51 momjian Exp $ |
| 17 | + * $PostgreSQL: pgsql/contrib/pg_stat_statements/pg_stat_statements.c,v 1.4 2009/07/27 03:34:40 tgl Exp $ |
18 | 18 | *
|
19 | 19 | *-------------------------------------------------------------------------
|
20 | 20 | */
|
@@ -332,7 +332,7 @@ pgss_shmem_startup(void)
|
332 | 332 | * Note: we don't bother with locks here, because there should be no other
|
333 | 333 | * processes running when this is called.
|
334 | 334 | */
|
335 |
| -if (!pgss_save) |
| 335 | +if (found||!pgss_save) |
336 | 336 | return;
|
337 | 337 |
|
338 | 338 | file=AllocateFile(PGSS_DUMP_FILE,PG_BINARY_R);
|
|