Project

General

Profile

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
(53-53/87)