Project

General

Profile

« Previous | Next » 

Revision 6038

pg_dump_vegbien: When not in data mode, use --inserts so the INSERT statements generated can be run directly in pgAdmin, they can be directly translated to MySQL, and an empty COPY FROM statement isn't generated for every table

View differences:

pg_dump_vegbien
19 19
    else set -- "$@" --format=c --compress=9
20 20
    fi
21 21
    owners=1
22
elif test -n "$schema"; then set -- "$@" --schema-only
22
else
23
    set -- "$@" --inserts
24
    test -n "$schema" && set -- "$@" --schema-only
23 25
fi
24 26
test -n "$owners" || set -- "$@" --no-owner --no-privileges
25 27
set -- "$@" $opts

Also available in: Unified diff