Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
cfbd2af9
Commit
cfbd2af9
authored
Jul 27, 2009
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve comment, per gripe from Alvaro.
parent
e4b9e653
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
contrib/pg_stat_statements/pg_stat_statements.c
contrib/pg_stat_statements/pg_stat_statements.c
+7
-5
No files found.
contrib/pg_stat_statements/pg_stat_statements.c
View file @
cfbd2af9
...
...
@@ -14,7 +14,7 @@
* Copyright (c) 2008-2009, PostgreSQL Global Development Group
*
* IDENTIFICATION
* $PostgreSQL: pgsql/contrib/pg_stat_statements/pg_stat_statements.c,v 1.
4 2009/07/27 03:34:40
tgl Exp $
* $PostgreSQL: pgsql/contrib/pg_stat_statements/pg_stat_statements.c,v 1.
5 2009/07/27 04:09:55
tgl Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -327,14 +327,16 @@ pgss_shmem_startup(void)
on_shmem_exit
(
pgss_shmem_shutdown
,
(
Datum
)
0
);
/*
* Attempt to load old statistics from the dump file.
*
* Note: we don't bother with locks here, because there should be no other
* processes running when this is called.
* Attempt to load old statistics from the dump file, if this is the
* first time through and we weren't told not to.
*/
if
(
found
||
!
pgss_save
)
return
;
/*
* Note: we don't bother with locks here, because there should be no other
* processes running when this code is reached.
*/
file
=
AllocateFile
(
PGSS_DUMP_FILE
,
PG_BINARY_R
);
if
(
file
==
NULL
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment