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
ec793794
Commit
ec793794
authored
Jul 19, 2002
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Another "$@" cleanup with new syntax, ${1+"$@"}.
parent
1128c54a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
src/bin/pg_ctl/pg_ctl.sh
src/bin/pg_ctl/pg_ctl.sh
+3
-3
src/bin/pgaccess/main.tcl
src/bin/pgaccess/main.tcl
+1
-1
src/bin/pgaccess/pgaccess.sh
src/bin/pgaccess/pgaccess.sh
+1
-1
No files found.
src/bin/pg_ctl/pg_ctl.sh
View file @
ec793794
...
...
@@ -8,7 +8,7 @@
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/bin/pg_ctl/Attic/pg_ctl.sh,v 1.2
6 2002/07/19 13:50:06
momjian Exp $
# $Header: /cvsroot/pgsql/src/bin/pg_ctl/Attic/pg_ctl.sh,v 1.2
7 2002/07/19 15:31:42
momjian Exp $
#
#-------------------------------------------------------------------------
...
...
@@ -332,12 +332,12 @@ if [ "$op" = "start" -o "$op" = "restart" ];then
fi
if
[
-n
"
$logfile
"
]
;
then
"
$po_path
"
${
1
:
+
"
$@
"
}
</dev/null
>>
$logfile
2>&1 &
"
$po_path
"
${
1
+
"
$@
"
}
</dev/null
>>
$logfile
2>&1 &
else
# when starting without log file, redirect stderr to stdout, so
# pg_ctl can be invoked with >$logfile and still have pg_ctl's
# stderr on the terminal.
"
$po_path
"
${
1
:
+
"
$@
"
}
</dev/null 2>&1 &
"
$po_path
"
${
1
+
"
$@
"
}
</dev/null 2>&1 &
fi
# if had an old lockfile, check to see if we were able to start
...
...
src/bin/pgaccess/main.tcl
View file @
ec793794
#!/bin/sh
# the next line restarts using wish
\
exec wish
"
$0
"
$
{
1
:
+
"
$
@"
}
exec wish
"
$0
"
$
{
1+
"
$
@"
}
image create bitmap dnarw -data
{
#define down_arrow_width 15
...
...
src/bin/pgaccess/pgaccess.sh
View file @
ec793794
...
...
@@ -10,4 +10,4 @@ export PGACCESS_HOME
export
PGLIB
export
PGPORT
exec
"
${
PATH_TO_WISH
}
"
"
${
PGACCESS_HOME
}
/main.tcl"
"
$@
"
exec
"
${
PATH_TO_WISH
}
"
"
${
PGACCESS_HOME
}
/main.tcl"
${
1
+
"
$@
"
}
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