template1 problems

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

template1 problems

Sim Zacks
Postgresql 8.0 Linux. using PGAdmin III 1.2 client

I accidentally did a restore of my database into template1. I thought the
best way to reverse it would be to drop the database and make a new one with
template0 as the template. But it didn't like that because template1 is a
system database so I can't drop it.

Is there a better way of fixing this then going through and deleting all the
objects one at a time?

Thanks
Sim



---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster