pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Terry Khatri <terrykhatri531@gmail.com>
Cc: Lukasz Brodziak <lukasz.brodziak@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Fwd: Errors on pg_dumpall
Date: Mon, 05 Nov 2012 10:22:37 -0500
Message-ID: <27171.1352128957@sss.pgh.pa.us> (raw)
In-Reply-To: <CANH4f+g4N+H9UU-90kC2=WFaGTw4XMAHmBWsyKvmikGNmdF+pw@mail.gmail.com>
References: <CANH4f+iTNSJh2PT9GxEeRvLf24d-zrpBLS9RMduS4gJg3UGb=w@mail.gmail.com>
	<CANH4f+h_iU7SZ+aoK36i18dFV6CH1Rx5-38dbqngoWUa8f-6Fg@mail.gmail.com>
	<5094875F.60305@ringerc.id.au>
	<CAGWYGjXhn4SKAhx1cPhjU9qiaSoee0C6BCcw4SsJ41k0B5aypw@mail.gmail.com>
	<CANH4f+g4N+H9UU-90kC2=WFaGTw4XMAHmBWsyKvmikGNmdF+pw@mail.gmail.com>

Terry Khatri <terrykhatri531@gmail.com> writes:
> Okay, I have found a reference to that oid in pg_type as under :
> select * from pg_type where typnamespace=74363 ;

Okay, so you have a composite type named "city" (either a table's
rowtype, or a standalone composite type --- hard to tell from just this
entry) that somehow escaped deletion when the containing schema was
deleted.  Do you have an idea what triggered that?  A reproducible test
case would be even better.

> What I should do next ?

Well, you can just manually delete those rows in pg_type, if you're sure
that there's nothing else linking to them.  It might be safer to try to
do it as "drop type city" first.

			regards, tom lane




view thread (8+ messages)

Message-ID: <27171.1352128957@sss.pgh.pa.us>
Permalink:  ../27171.1352128957@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/27171.1352128957@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, terrykhatri531@gmail.com, lukasz.brodziak@gmail.com
  Subject: Re: Fwd: Errors on pg_dumpall
  In-Reply-To: <27171.1352128957@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox