Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: have pg_restore create a new database?


  • From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
  • To: "Thomas H." <me(at)alternize(dot)com>
  • Cc: pgsql-general(at)postgresql(dot)org
  • Subject: Re: have pg_restore create a new database?
  • Date: Sun, 26 Nov 2006 12:10:04 -0500
  • Message-id: <19314(dot)1164561004(at)sss(dot)pgh(dot)pa(dot)us>

"Thomas H." <me(at)alternize(dot)com> writes:
> how can i create an *empty* database?

Clone it from template0, not template1.

			regards, tom lane



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group