Project

General

Profile

« Previous | Next » 

Revision 6028

pg_dump_vegbien: Except in (raw) data mode, filter out pg_catalog.setval() statements (only lookup table contents should be preserved)

View differences:

pg_dump_vegbien
24 24
test -n "$owners" || set -- "$@" --no-owner --no-privileges
25 25
set -- "$@" $opts
26 26

  
27
set -x
28
exec "$selfDir/postgres_vegbien" pg_dump "$@"
27
pg_dump ()
28
{
29
    set -x
30
    exec "$selfDir/postgres_vegbien" pg_dump "$@"
31
}
32
if test -n "$data"; then pg_dump "$@"
33
else pg_dump "$@"|grep -vF 'SELECT pg_catalog.setval'
34
fi

Also available in: Unified diff