Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
ced53c38
Commit
ced53c38
authored
13 years ago
by
Bruce Momjian
Browse files
Options
Downloads
Patches
Plain Diff
In pg_upgrade, move new echo quote define into include file.
parent
313d29f7
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
contrib/pg_upgrade/check.c
+0
-5
0 additions, 5 deletions
contrib/pg_upgrade/check.c
contrib/pg_upgrade/pg_upgrade.h
+3
-0
3 additions, 0 deletions
contrib/pg_upgrade/pg_upgrade.h
with
3 additions
and
5 deletions
contrib/pg_upgrade/check.c
+
0
−
5
View file @
ced53c38
...
@@ -23,11 +23,6 @@ static void check_for_reg_data_type_usage(ClusterInfo *cluster);
...
@@ -23,11 +23,6 @@ static void check_for_reg_data_type_usage(ClusterInfo *cluster);
static
void
check_for_support_lib
(
ClusterInfo
*
cluster
);
static
void
check_for_support_lib
(
ClusterInfo
*
cluster
);
static
void
get_bin_version
(
ClusterInfo
*
cluster
);
static
void
get_bin_version
(
ClusterInfo
*
cluster
);
#ifndef WIN32
#define ECHO_QUOTE "'"
#else
#define ECHO_QUOTE ""
#endif
void
void
output_check_banner
(
bool
*
live_check
)
output_check_banner
(
bool
*
live_check
)
...
...
This diff is collapsed.
Click to expand it.
contrib/pg_upgrade/pg_upgrade.h
+
3
−
0
View file @
ced53c38
...
@@ -63,6 +63,7 @@ extern char *output_files[];
...
@@ -63,6 +63,7 @@ extern char *output_files[];
#define SERVER_LOG_FILE2 UTILITY_LOG_FILE
#define SERVER_LOG_FILE2 UTILITY_LOG_FILE
#endif
#endif
#ifndef WIN32
#ifndef WIN32
#define pg_copy_file copy_file
#define pg_copy_file copy_file
#define pg_mv_file rename
#define pg_mv_file rename
...
@@ -70,6 +71,7 @@ extern char *output_files[];
...
@@ -70,6 +71,7 @@ extern char *output_files[];
#define RM_CMD "rm -f"
#define RM_CMD "rm -f"
#define RMDIR_CMD "rm -rf"
#define RMDIR_CMD "rm -rf"
#define SCRIPT_EXT "sh"
#define SCRIPT_EXT "sh"
#define ECHO_QUOTE "'"
#else
#else
#define pg_copy_file CopyFile
#define pg_copy_file CopyFile
#define pg_mv_file pgrename
#define pg_mv_file pgrename
...
@@ -79,6 +81,7 @@ extern char *output_files[];
...
@@ -79,6 +81,7 @@ extern char *output_files[];
#define RMDIR_CMD "RMDIR /s/q"
#define RMDIR_CMD "RMDIR /s/q"
#define SCRIPT_EXT "bat"
#define SCRIPT_EXT "bat"
#define EXE_EXT ".exe"
#define EXE_EXT ".exe"
#define ECHO_QUOTE ""
#endif
#endif
#define CLUSTER_NAME(cluster) ((cluster) == &old_cluster ? "old" : \
#define CLUSTER_NAME(cluster) ((cluster) == &old_cluster ? "old" : \
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment