root/trunk/bin/pg_dump_limit @ 13803
1 |
#!/bin/sh
|
---|---|
2 |
# Filters a PostgreSQL DB dump to remove security and schema-setting commands
|
3 |
# Usage: self {input...|<input} >translated
|
4 |
|
5 |
grep -v -E '^(CREATE DATABASE|SET search_path|GRANT|REVOKE)' "$@" || true |