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
a7245847
Commit
a7245847
authored
May 14, 2010
by
Robert Haas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
We now accept read-only connections in state PM_RECOVERY_CONSISTENT.
parent
0b38f3b1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
9 deletions
+7
-9
src/backend/postmaster/postmaster.c
src/backend/postmaster/postmaster.c
+7
-9
No files found.
src/backend/postmaster/postmaster.c
View file @
a7245847
...
@@ -37,7 +37,7 @@
...
@@ -37,7 +37,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/postmaster/postmaster.c,v 1.60
6 2010/04/28 16:10:42 heikki
Exp $
* $PostgreSQL: pgsql/src/backend/postmaster/postmaster.c,v 1.60
7 2010/05/14 18:08:33 rhaas
Exp $
*
*
* NOTES
* NOTES
*
*
...
@@ -238,14 +238,12 @@ static bool RecoveryError = false; /* T if WAL recovery failed */
...
@@ -238,14 +238,12 @@ static bool RecoveryError = false; /* T if WAL recovery failed */
*
*
* When the startup process is ready to start archive recovery, it signals the
* When the startup process is ready to start archive recovery, it signals the
* postmaster, and we switch to PM_RECOVERY state. The background writer is
* postmaster, and we switch to PM_RECOVERY state. The background writer is
* launched, while the startup process continues applying WAL.
* launched, while the startup process continues applying WAL. If Hot Standby
* After reaching a consistent point in WAL redo, startup process signals
* is enabled, then, after reaching a consistent point in WAL redo, startup
* us again, and we switch to PM_RECOVERY_CONSISTENT state. There's currently
* process signals us again, and we switch to PM_RECOVERY_CONSISTENT state and
* no difference between PM_RECOVERY and PM_RECOVERY_CONSISTENT, but we
* begin accepting connections to perform read-only queries. When archive
* could start accepting connections to perform read-only queries at this
* recovery is finished, the startup process exits with exit code 0 and we
* point, if we had the infrastructure to do that.
* switch to PM_RUN state.
* When archive recovery is finished, the startup process exits with exit
* code 0 and we switch to PM_RUN state.
*
*
* Normal child backends can only be launched when we are in PM_RUN or
* Normal child backends can only be launched when we are in PM_RUN or
* PM_RECOVERY_CONSISTENT state. (We also allow launch of normal
* PM_RECOVERY_CONSISTENT state. (We also allow launch of normal
...
...
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