cleanup
authorBruce Momjian
Sun, 25 Oct 1998 02:48:55 +0000 (02:48 +0000)
committerBruce Momjian
Sun, 25 Oct 1998 02:48:55 +0000 (02:48 +0000)
src/bin/pg_dump/pg_upgrade

index 2fc631fe361285856b049c0e760ca9acd9112765..22eff823256891aa76aaf4d8a9d2a1c6048515e8 100755 (executable)
@@ -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;