Accidentally truncated pg_type

From: "Matthew Byrne" <matt(at)byrney(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Accidentally truncated pg_type
Date: 2011-07-12 00:12:11
Message-ID: 629a197dca0a159c8c432b6fbae0017b.squirrel@localhost
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I have a large database full of irreplaceable data, and due to a
ridiculous happenstance I accidentally executed this code (as a superuser,
of course):

DELETE FROM pg_catalog.pg_type;

Now the database is *seriously* unhappy - every SQL command returns an
error message. How do I get at my data?

Regards,

Matt

Responses

Browse pgsql-general by date

  From Date Subject
Next Message hyelluas 2011-07-12 00:31:31 Concurrent read from a partition table.
Previous Message David Johnston 2011-07-11 23:02:26 ? about Composite Keys + ON DELETE/UPDATE SET NULL