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
51f41e8c
Commit
51f41e8c
authored
May 21, 2014
by
Heikki Linnakangas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typos in comments.
parent
2e1b5d3f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
src/backend/storage/ipc/standby.c
src/backend/storage/ipc/standby.c
+2
-2
src/backend/utils/adt/formatting.c
src/backend/utils/adt/formatting.c
+1
-1
No files found.
src/backend/storage/ipc/standby.c
View file @
51f41e8c
...
@@ -893,10 +893,10 @@ LogStandbySnapshot(void)
...
@@ -893,10 +893,10 @@ LogStandbySnapshot(void)
* For Hot Standby this can be done before inserting the WAL record
* For Hot Standby this can be done before inserting the WAL record
* because ProcArrayApplyRecoveryInfo() rechecks the commit status using
* because ProcArrayApplyRecoveryInfo() rechecks the commit status using
* the clog. For logical decoding, though, the lock can't be released
* the clog. For logical decoding, though, the lock can't be released
* early bec
ua
se the clog might be "in the future" from the POV of the
* early bec
au
se the clog might be "in the future" from the POV of the
* historic snapshot. This would allow for situations where we're waiting
* historic snapshot. This would allow for situations where we're waiting
* for the end of a transaction listed in the xl_running_xacts record
* for the end of a transaction listed in the xl_running_xacts record
* which, according to the WAL, ha
ve commit
before the xl_running_xacts
* which, according to the WAL, ha
s committed
before the xl_running_xacts
* record. Fortunately this routine isn't executed frequently, and it's
* record. Fortunately this routine isn't executed frequently, and it's
* only a shared lock.
* only a shared lock.
*/
*/
...
...
src/backend/utils/adt/formatting.c
View file @
51f41e8c
...
@@ -3587,7 +3587,7 @@ do_to_timestamp(text *date_txt, text *fmt,
...
@@ -3587,7 +3587,7 @@ do_to_timestamp(text *date_txt, text *fmt,
if
(
tmfc
.
bc
)
if
(
tmfc
.
bc
)
tmfc
.
cc
=
-
tmfc
.
cc
;
tmfc
.
cc
=
-
tmfc
.
cc
;
if
(
tmfc
.
cc
>=
0
)
if
(
tmfc
.
cc
>=
0
)
/* +1 bec
ua
se 21st century started in 2001 */
/* +1 bec
au
se 21st century started in 2001 */
tm
->
tm_year
=
(
tmfc
.
cc
-
1
)
*
100
+
1
;
tm
->
tm_year
=
(
tmfc
.
cc
-
1
)
*
100
+
1
;
else
else
/* +1 because year == 599 is 600 BC */
/* +1 because year == 599 is 600 BC */
...
...
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