#!/bin/sh

pg_dump --no-privileges --schema-only --no-owner --no-tablespaces catmaid -U catmaid_user | egrep -v '^--' | egrep -v '^ *$'


#!/bin/sh

pg_dump --no-privileges --schema-only --no-owner \
   --no-tablespaces catmaid -U catmaid_user | \
   egrep -v '^--' | \
   egrep -v '^ *$' | \
   sed -e '/CREATE FUNCTION connect/,+2d'

Exclude the native code based functions from the database dump
Exclude the native code based functions from the database dump
