Project

General

Profile

« Previous | Next » 

Revision 6113

Added pg_dump_limit to filter a PostgreSQL DB dump to remove security and schema-setting commands

View differences:

bin/pg_dump_limit
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 '^(SET search_path|GRANT|REVOKE)' "$@"
0 6

  

Also available in: Unified diff