| От | Tom Lane |
|---|---|
| Тема | Re: Template1 is locked when pgAdminIII is open |
| Дата | |
| Msg-id | 20247.1107189602@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Template1 is locked when pgAdminIII is open ("Dave Page" <dpage@vale-housing.co.uk>) |
| Ответы |
Re: Template1 is locked when pgAdminIII is open
|
| Список | pgsql-bugs |
"Dave Page" <dpage@vale-housing.co.uk> writes:
> pgAdmin uses template1 by default as it is the only accessible database
> that we can be sure will exist. There are 2 solutions to your problem:
> 1) Change your pgAdmin connection to use a different default database.
> 2) Select a different database to use as the template when creating a
> new one.
He shouldn't really be getting that error though, as CREATE DATABASE
only complains if there is another connection *besides your own* to
the template database.
I think the real answer is something more along the lines of "don't run
two copies of pgAdmin at once".
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера