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