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
9df96f9b
Commit
9df96f9b
authored
Oct 19, 2010
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
In pg_upgrade, rename macro EXEC_EXT to SHELL_EXT for clarity.
Backpatch to 9.0.X.
parent
bc8624b1
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 @
9df96f9b
...
...
@@ -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
,
EXEC
_EXT
);
ctx
->
cwd
,
SHELL
_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 @
9df96f9b
...
...
@@ -39,14 +39,14 @@
#define pg_mv_file rename
#define pg_link_file link
#define RMDIR_CMD "rm -rf"
#define
EXEC
_EXT "sh"
#define
SHELL
_EXT "sh"
#else
#define pg_copy_file CopyFile
#define pg_mv_file pgrename
#define pg_link_file win32_pghardlink
#define sleep(x) Sleep(x * 1000)
#define RMDIR_CMD "RMDIR /s/q"
#define
EXEC
_EXT "bat"
#define
SHELL
_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