summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/bin/pg_dump/pg_upgrade2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/pg_dump/pg_upgrade b/src/bin/pg_dump/pg_upgrade
index 2fc631fe361..22eff823256 100755
--- a/src/bin/pg_dump/pg_upgrade
+++ b/src/bin/pg_dump/pg_upgrade
@@ -61,7 +61,7 @@ fi
# then shouldn't be in there anyway
cat $INPUT | awk ' {
- if (toupper($1) != "COPY" && $2 != "pg_shadow")
+ if (toupper($1) == "COPY" && $2 != "pg_shadow")
while (getline $0 > 0 && $0 != "\\.")
;
else print $0;