Re: very concerning, tables hopped from one database to - Mailing list pgsql-general

From Thomas Lockhart
Subject Re: very concerning, tables hopped from one database to
Date
Msg-id 3CC33CF9.1AF54A15@fourpalms.org
Whole thread Raw
In response to very concerning, tables hopped from one database to another  (David Ford <david+cert@blue-labs.org>)
List pgsql-general
...
> 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 by date:

Previous
From: David Ford
Date:
Subject: (very anxious, tables hopping databases ....)
Next
From: Tom Lane
Date:
Subject: Re: very concerning, tables hopped from one database to another