Re: dropping sequences

From: Doug McNaught <doug(at)mcnaught(dot)org>
To: Erik Price <eprice(at)ptc(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: dropping sequences
Date: 2003-06-20 16:57:57
Message-ID: m3znkc7kkq.fsf@varsoon.wireboard.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Erik Price <eprice(at)ptc(dot)com> writes:

> Doug McNaught wrote:
>
> > Actually, I'm pretty sure it's "template1". Where in the docs does it
> > say "template0"?
>
> Maybe it is template1. I have a DB on my system named template0, but
> I might have created that right when I first installed PostgreSQL as
> an experiment and forgot about it. I also have a template1 database.

There are both. template1 is the default, and you can add stuff to it
so newly created databases have the right contents. template0 is the
"virgin" copy that you use if you accidentally drop or screw up
template1. :)

-Doug

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Dennis Gearon 2003-06-20 17:00:12 Re: [GENERAL] MySQL gets $19.5 MM
Previous Message Erik Price 2003-06-20 16:52:47 Re: dropping sequences