Created
April 28, 2015 12:49
-
-
Save HGebhardt/9908551640b5b16e7bed to your computer and use it in GitHub Desktop.
Convert PostgreSQL data to SQLite
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sed -f | |
# remove configuration settings | |
/^SET /d | |
# remove comments | |
/^--/d | |
# remove sequence values | |
/^SELECT pg_catalog.setval/d |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment