Re: Simpler dump?

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: Simpler dump?
Дата
Msg-id 475D61F6.5030702@archonet.com
обсуждение исходный текст
Ответ на Re: Simpler dump?  (Ted Byers <r.ted.byers@rogers.com>)
Ответы Re: Simpler dump?  (Ted Byers <r.ted.byers@rogers.com>)
Список pgsql-general
Ted Byers wrote:
> Amyway, when I look at the server using pgadmin, I
> don't see either template0 or template1.  I see only
> template_postgis.  Should I be able to see template0
> and template1 among the databases on the server, or
> are they normally hidden to minimise the chances of
> getting them screwed up.

There'll be an option in pgadmin somewhere to show them. Not sure where
I'm afraid, I mostly use the command-line.

> At this stage, how can I get a template I can use by
> default that doesn't include the postgis stuff, so I
> can use the template_postgis only when I need it?

You can just drop template1 and re-create it using template0 (which is
read-only) as it's template. Check the docs for CREATE DATABASE and
google a little for examples.

You can probably do all this from pgadmin too, of course.

--
   Richard Huxton
   Archonet Ltd

В списке pgsql-general по дате отправления:

Предыдущее
От: Ted Byers
Дата:
Сообщение: Re: Simpler dump?
Следующее
От: Ted Byers
Дата:
Сообщение: Re: Simpler dump?