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
722d5bee
Commit
722d5bee
authored
Oct 19, 2010
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
In pg_upgrade, rename SHELL_EXT to SCRIPT_EXT, for clarity.
parent
51eeccd6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
contrib/pg_upgrade/check.c
contrib/pg_upgrade/check.c
+1
-1
contrib/pg_upgrade/pg_upgrade.h
contrib/pg_upgrade/pg_upgrade.h
+2
-2
No files found.
contrib/pg_upgrade/check.c
View file @
722d5bee
...
...
@@ -389,7 +389,7 @@ create_script_for_old_cluster_deletion(migratorContext *ctx,
prep_status
(
ctx
,
"Creating script to delete old cluster"
);
snprintf
(
*
deletion_script_file_name
,
MAXPGPATH
,
"%s/delete_old_cluster.%s"
,
ctx
->
cwd
,
S
HELL
_EXT
);
ctx
->
cwd
,
S
CRIPT
_EXT
);
if
((
script
=
fopen
(
*
deletion_script_file_name
,
"w"
))
==
NULL
)
pg_log
(
ctx
,
PG_FATAL
,
"Could not create necessary file: %s
\n
"
,
...
...
contrib/pg_upgrade/pg_upgrade.h
View file @
722d5bee
...
...
@@ -40,7 +40,7 @@
#define pg_link_file link
#define RM_CMD "rm -f"
#define RMDIR_CMD "rm -rf"
#define S
HELL
_EXT "sh"
#define S
CRIPT
_EXT "sh"
#else
#define pg_copy_file CopyFile
#define pg_mv_file pgrename
...
...
@@ -48,7 +48,7 @@
#define sleep(x) Sleep(x * 1000)
#define RM_CMD "DEL /q"
#define RMDIR_CMD "RMDIR /s/q"
#define S
HELL
_EXT "bat"
#define S
CRIPT
_EXT "bat"
#define EXE_EXT ".exe"
#endif
...
...
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