root/bin/pg_dump_limit @ 9202
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)' "$@" |