git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 0bdeb1d) | patch
Fix unportable shell-script syntax in pg_upgrade's test.sh.
2014年3月17日 01:55:10 +0000 (21:55 -0400)
2014年3月17日 01:55:10 +0000 (21:55 -0400)
commit d24d6691930e5f3a95e9daece2f299a076c80c15
Fix unportable shell-script syntax in pg_upgrade's test.sh.

I discovered the hard way that on some old shells, the locution
FOO="" unset FOO
does not behave the same as
FOO=""; unset FOO
and in fact leaves FOO set to an empty string. test.sh was inconsistently
spelling it different ways on adjacent lines.

This got broken relatively recently, in commit c737a2e56, so the lack of
field reports to date doesn't represent a lot of evidence that the problem
is rare.
contrib/pg_upgrade/test.sh diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /