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
871696ba
Commit
871696ba
authored
May 08, 2020
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve use of prepositions in messages
*in* database, *in* cluster, *on* server; and some related fixes
parent
7666ef31
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
src/bin/pg_dump/pg_dump.c
src/bin/pg_dump/pg_dump.c
+2
-2
src/bin/pg_rewind/libpq_fetch.c
src/bin/pg_rewind/libpq_fetch.c
+1
-1
src/bin/pg_rewind/pg_rewind.c
src/bin/pg_rewind/pg_rewind.c
+2
-2
src/bin/scripts/reindexdb.c
src/bin/scripts/reindexdb.c
+1
-1
No files found.
src/bin/pg_dump/pg_dump.c
View file @
871696ba
...
@@ -1032,8 +1032,8 @@ help(const char *progname)
...
@@ -1032,8 +1032,8 @@ help(const char *progname)
printf
(
_
(
" --extra-float-digits=NUM override default setting for extra_float_digits
\n
"
));
printf
(
_
(
" --extra-float-digits=NUM override default setting for extra_float_digits
\n
"
));
printf
(
_
(
" --if-exists use IF EXISTS when dropping objects
\n
"
));
printf
(
_
(
" --if-exists use IF EXISTS when dropping objects
\n
"
));
printf
(
_
(
" --include-foreign-data=PATTERN
\n
"
printf
(
_
(
" --include-foreign-data=PATTERN
\n
"
" include data of foreign tables
i
n
\n
"
" include data of foreign tables
on foreig
n
\n
"
"
foreign
servers matching PATTERN
\n
"
));
" servers matching PATTERN
\n
"
));
printf
(
_
(
" --inserts dump data as INSERT commands, rather than COPY
\n
"
));
printf
(
_
(
" --inserts dump data as INSERT commands, rather than COPY
\n
"
));
printf
(
_
(
" --load-via-partition-root load partitions via the root table
\n
"
));
printf
(
_
(
" --load-via-partition-root load partitions via the root table
\n
"
));
printf
(
_
(
" --no-comments do not dump comments
\n
"
));
printf
(
_
(
" --no-comments do not dump comments
\n
"
));
...
...
src/bin/pg_rewind/libpq_fetch.c
View file @
871696ba
...
@@ -108,7 +108,7 @@ run_simple_query(const char *sql)
...
@@ -108,7 +108,7 @@ run_simple_query(const char *sql)
res
=
PQexec
(
conn
,
sql
);
res
=
PQexec
(
conn
,
sql
);
if
(
PQresultStatus
(
res
)
!=
PGRES_TUPLES_OK
)
if
(
PQresultStatus
(
res
)
!=
PGRES_TUPLES_OK
)
pg_fatal
(
"error running query (%s)
i
n source server: %s"
,
pg_fatal
(
"error running query (%s)
o
n source server: %s"
,
sql
,
PQresultErrorMessage
(
res
));
sql
,
PQresultErrorMessage
(
res
));
/* sanity check the result set */
/* sanity check the result set */
...
...
src/bin/pg_rewind/pg_rewind.c
View file @
871696ba
...
@@ -873,7 +873,7 @@ getRestoreCommand(const char *argv0)
...
@@ -873,7 +873,7 @@ getRestoreCommand(const char *argv0)
(
void
)
pg_strip_crlf
(
cmd_output
);
(
void
)
pg_strip_crlf
(
cmd_output
);
if
(
strcmp
(
cmd_output
,
""
)
==
0
)
if
(
strcmp
(
cmd_output
,
""
)
==
0
)
pg_fatal
(
"restore_command is not set
o
n the target cluster"
);
pg_fatal
(
"restore_command is not set
i
n the target cluster"
);
restore_command
=
pg_strdup
(
cmd_output
);
restore_command
=
pg_strdup
(
cmd_output
);
...
@@ -936,7 +936,7 @@ ensureCleanShutdown(const char *argv0)
...
@@ -936,7 +936,7 @@ ensureCleanShutdown(const char *argv0)
if
(
system
(
cmd
)
!=
0
)
if
(
system
(
cmd
)
!=
0
)
{
{
pg_log_error
(
"postgres single-user mode
of target instance
failed"
);
pg_log_error
(
"postgres single-user mode
in target cluster
failed"
);
pg_fatal
(
"Command was: %s"
,
cmd
);
pg_fatal
(
"Command was: %s"
,
cmd
);
}
}
}
}
...
...
src/bin/scripts/reindexdb.c
View file @
871696ba
...
@@ -567,7 +567,7 @@ run_reindex_command(PGconn *conn, ReindexType type, const char *name,
...
@@ -567,7 +567,7 @@ run_reindex_command(PGconn *conn, ReindexType type, const char *name,
name
,
PQdb
(
conn
),
PQerrorMessage
(
conn
));
name
,
PQdb
(
conn
),
PQerrorMessage
(
conn
));
break
;
break
;
case
REINDEX_SYSTEM
:
case
REINDEX_SYSTEM
:
pg_log_error
(
"reindexing of system catalogs
o
n database
\"
%s
\"
failed: %s"
,
pg_log_error
(
"reindexing of system catalogs
i
n database
\"
%s
\"
failed: %s"
,
PQdb
(
conn
),
PQerrorMessage
(
conn
));
PQdb
(
conn
),
PQerrorMessage
(
conn
));
break
;
break
;
case
REINDEX_TABLE
:
case
REINDEX_TABLE
:
...
...
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