index 5a818ba0428611696a1a311da2599a9103d910c6..11d07218612ca08095e1eba2d55ac0f368bc0c83 100644 (file)
* Copyright (c) 2008-2009, PostgreSQL Global Development Group
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/contrib/pg_stat_statements/pg_stat_statements.c,v 1.3 2009年06月11日 14:48:51 momjian Exp $
+ * $PostgreSQL: pgsql/contrib/pg_stat_statements/pg_stat_statements.c,v 1.4 2009年07月27日 03:34:40 tgl Exp $
*
*-------------------------------------------------------------------------
*/
* Note: we don't bother with locks here, because there should be no other
* processes running when this is called.
*/
- if (!pgss_save)
+ if (found || !pgss_save)
return;
file = AllocateFile(PGSS_DUMP_FILE, PG_BINARY_R);