Quick way to duplicate a database in PostgreSQL
CREATE DATABASE <new db> WITH TEMPLATE <existing db> OWNER <owner>;
Written by Ash McKenzie
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Postgres
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#