Re: Issue with CREATE EXTENSION tablefuncKreiter - Mailing list pgsql-general

From Tom Lane
Subject Re: Issue with CREATE EXTENSION tablefuncKreiter
Date
Msg-id 24224.1328131913@sss.pgh.pa.us
Whole thread Raw
In response to Re: Issue with CREATE EXTENSION tablefuncKreiter  (Philip Rhoades <phil@pricom.com.au>)
Responses Re: Issue with CREATE EXTENSION tablefuncKreiter
List pgsql-general
Philip Rhoades <phil@pricom.com.au> writes:
> On 2012-02-02 02:52, Tom Lane wrote:
>> Anyway the solution is to connect to template1 and drop any cruft
>> that's lying around in it.

> I haven't done any manual messing around with template1 as far as I
> know . .

Well, the behavior you describe indicates pretty strongly that there are
some non-factory-standard objects in template1.  If the database is a
few years old, that's not exactly hard to believe --- all it takes is
one time having connected to the wrong place and created some stuff.
Just go have a look and get rid of what you find ...

            regards, tom lane

pgsql-general by date:

Previous
From: Dimitri Fontaine
Date:
Subject: Re: pg_dump -s dumps data?!
Next
From: Christian Ramseyer
Date:
Subject: Audtiting, DDL and DML in same SQL Function