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
efa8544f
Commit
efa8544f
authored
Jun 18, 2009
by
Heikki Linnakangas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a few errors in comments. Patch by Fujii Masao, plus the one in
visibilitymap.c by me.
parent
f08e5e92
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
+9
-9
contrib/pg_standby/pg_standby.c
contrib/pg_standby/pg_standby.c
+2
-2
src/backend/access/heap/visibilitymap.c
src/backend/access/heap/visibilitymap.c
+3
-3
src/backend/tcop/postgres.c
src/backend/tcop/postgres.c
+4
-4
No files found.
contrib/pg_standby/pg_standby.c
View file @
efa8544f
/*
* $PostgreSQL: pgsql/contrib/pg_standby/pg_standby.c,v 1.2
3 2009/06/11 14:48:51 momjian
Exp $
* $PostgreSQL: pgsql/contrib/pg_standby/pg_standby.c,v 1.2
4 2009/06/18 10:08:08 heikki
Exp $
*
*
* pg_standby.c
...
...
@@ -448,7 +448,7 @@ CheckForExternalTrigger(void)
/*
* Turn it into a "smart" trigger by truncating the file. Otherwise if
* the server asks us again to restore a segment that was restored
*
restored
already, we would return "not found" and upset the server.
* already, we would return "not found" and upset the server.
*/
if
(
ftruncate
(
fd
,
0
)
<
0
)
{
...
...
src/backend/access/heap/visibilitymap.c
View file @
efa8544f
...
...
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/access/heap/visibilitymap.c,v 1.
4 2009/06/11 14:48:54 momjian
Exp $
* $PostgreSQL: pgsql/src/backend/access/heap/visibilitymap.c,v 1.
5 2009/06/18 10:08:08 heikki
Exp $
*
* INTERFACE ROUTINES
* visibilitymap_clear - clear a bit in the visibility map
...
...
@@ -98,8 +98,8 @@
/*
* Size of the bitmap on each visibility map page, in bytes. There's no
* extra headers, so the whole page minus
except for the standard page header
*
is
used for the bitmap.
* extra headers, so the whole page minus
the standard page header is
* used for the bitmap.
*/
#define MAPSIZE (BLCKSZ - MAXALIGN(SizeOfPageHeaderData))
...
...
src/backend/tcop/postgres.c
View file @
efa8544f
...
...
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.56
7 2009/06/11 14:49:02 momjian
Exp $
* $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.56
8 2009/06/18 10:08:08 heikki
Exp $
*
* NOTES
* this is the "main" module of the postgres backend and
...
...
@@ -2924,8 +2924,8 @@ PostgresMain(int argc, char *argv[], const char *username)
* If the databasename is omitted it is taken to be the user name.
*
* When started from the postmaster, the format is
* postgres [secure switches] -
p
databasename [insecure switches]
* Switches appearing after -
p
came from the client (via "options"
* postgres [secure switches] -
y
databasename [insecure switches]
* Switches appearing after -
y
came from the client (via "options"
* field of connection request). For security reasons we restrict
* what these switches can do.
* ----------------
...
...
@@ -2938,7 +2938,7 @@ PostgresMain(int argc, char *argv[], const char *username)
argc
--
;
}
/* all options are allowed until '-
p
' */
/* all options are allowed until '-
y
' */
secure
=
true
;
ctx
=
PGC_POSTMASTER
;
gucsource
=
PGC_S_ARGV
;
/* initial switches came from command line */
...
...
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