Re: Trying to get rid of a type

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Tom Jenkins <tjenkins(at)devis(dot)com>
Cc: PostgreSQL Mailing Lists-General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Trying to get rid of a type
Date: 2002-06-13 19:57:16
Message-ID: 28821.1023998236@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tom Jenkins <tjenkins(at)devis(dot)com> writes:
> We misspelled the OPAQUE declaration in a function as opapue.
> i've tried DROP TYPE opapue but got
> ERROR: RemoveType: type '_opapue' does not exist
> when we dump the database we get a warning:
> pg_dump: WARNING: owner of data type opapue appears to be invalid

Sure, just delete the record from pg_type. pg_dump should probably
be ignoring the record altogether ...

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Justin Clift 2002-06-13 19:59:12 jobs.postgresql.org - Who's interested?
Previous Message Bruce Momjian 2002-06-13 19:51:02 Re: Contrib reindex script: