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
1aecb8d2
Commit
1aecb8d2
authored
25 years ago
by
Bruce Momjian
Browse files
Options
Downloads
Patches
Plain Diff
More >&1 cleanups
parent
3df65f84
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/bin/ipcclean/ipcclean.sh
+3
-3
3 additions, 3 deletions
src/bin/ipcclean/ipcclean.sh
src/test/suite/runall
+1
-1
1 addition, 1 deletion
src/test/suite/runall
with
4 additions
and
4 deletions
src/bin/ipcclean/ipcclean.sh
+
3
−
3
View file @
1aecb8d2
#!/bin/sh
#
# $Header: /cvsroot/pgsql/src/bin/ipcclean/Attic/ipcclean.sh,v 1.
4
2000/0
1/19 20:08:27 petere
Exp $
# $Header: /cvsroot/pgsql/src/bin/ipcclean/Attic/ipcclean.sh,v 1.
5
2000/0
3/25 14:44:41 momjian
Exp $
#
CMDNAME
=
`
basename
$0
`
...
...
@@ -41,7 +41,7 @@ if [ `uname` = 'Linux' ]; then
ipcs_lpid
=
did_anything
=
if
ps x |
grep
-s
'postmaster'
>
&
/dev/null
;
then
if
ps x |
grep
-s
'postmaster'
>
/dev/null
2>&1
;
then
echo
"
$CMDNAME
: You still have a postmaster running."
exit
1
fi
...
...
@@ -60,7 +60,7 @@ if [ `uname` = 'Linux' ]; then
# Don't do anything if process still running.
# (This check is conceptually phony, but it's
# useful anyway in practice.)
ps hj
$ipcs_pid
>
&
/dev/null
ps hj
$ipcs_pid
>
/dev/null
2>&1
if
[
$?
-eq
0
]
;
then
echo
"skipped. Process still exists (pid
$ipcs_pid
)."
else
...
...
This diff is collapsed.
Click to expand it.
src/test/suite/runall
+
1
−
1
View file @
1aecb8d2
...
...
@@ -2,7 +2,7 @@
foreach s (*.sql)
echo "===> $s";
psql -q -e -n $USER < $s >
&
$s.out;
psql -q -e -n $USER < $s > $s.out
2>&1
;
diff $s.out results/$s.out;
end
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