Matt Beauregard <matt@designscape.com.au> writes:
>> Hmm, did you do something silly like delete pg_user?
> No... I have no idea where the table went. Which database do I need
> to connect to in order to recreate it? I tried recreating it in
> template1 and got a set of interesting errors about also missing
> pg_views.
Ugh, something's more hosed than I thought, then. What do you get
from "select * from pg_class" in template1?
regards, tom lane