Project

General

Profile

« Previous | Next » 

Revision 3397

pg_dump_vegbien: Save owners when saving data (for full export)

View differences:

bin/pg_dump_vegbien
7 7
    echo "Usage: env [data=1] [plain=1] [owners=1] $0 schema >schema.sql"
8 8
    exit 2
9 9
fi
10

  
10 11
if test -n "$data"; then
11 12
    if test -n "$plain"; then dataOpts=--format=p
12 13
    else dataOpts='--format=c --compress=9'
13 14
    fi
15
    owners=1
14 16
else dataOpts=--schema-only
15 17
fi
16 18
test -n "$owners" && ownerOpts= || ownerOpts='--no-owner --no-privileges'

Also available in: Unified diff