Re: very concerning, tables hopped from one database to

Поиск
Список
Период
Сортировка
От David Ford
Тема Re: very concerning, tables hopped from one database to
Дата
Msg-id 3CC34331.8020908@blue-labs.org
обсуждение исходный текст
Ответ на very concerning, tables hopped from one database to another  (David Ford <david+cert@blue-labs.org>)
Ответы Re: very concerning, tables hopped from one database to  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Yes, they are in template1.

This then begs the question, why are they not in the hmzbook database?
 All the tables were added via psql -f /tmp/dump.hmzbook which has one
connect line in it.  \connect hmzbook xxxx.

David

Thomas Lockhart wrote:

>...
>
>
>>What the heck just happened and short of dumping these tables out and
>>importing them back into the other database...
>>
>>
>
>Most likely, you accidentally added the tables to template1, which then
>propagates to any new databases added after that.
>
>Clean up template1, then clean up your existing databases, and you
>should be back to normal for any new ones. dump/reload is not required,
>except to get tables into databases which need them.
>
>                     - Thomas
>
>



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: very concerning, tables hopped from one database to another
Следующее
От: Tom Lane
Дата:
Сообщение: Re: very concerning, tables hopped from one database to