Re: Wrong order of tests in findDependentObjects() - Mailing list pgsql-hackers

From Jim Nasby
Subject Re: Wrong order of tests in findDependentObjects()
Date
Msg-id e51f4311-f483-4dd0-1ccc-abec3c405110@BlueTreble.com
Whole thread Raw
In response to Wrong order of tests in findDependentObjects()  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Wrong order of tests in findDependentObjects()
List pgsql-hackers
On 11/26/16 10:25 AM, Tom Lane wrote:
> It suddenly struck me that the problem being complained of in bug #14434
> is that dependency.c's findDependentObjects() is handling extension
> dependencies incorrectly.

I suspect this is unrelated, but I've run into another oddity with 
extension dependency: if an extension creates any temporary objects the 
extension will install and function correctly... until the backend that 
created the extension quits. This is VERY confusing if you've never come 
across it before, because you'll do a bunch of work in a single script 
but when you try to use the extension for real it will "randomly" just 
vanish.
-- 
Jim Nasby, Data Architect, Blue Treble Consulting, Austin TX
Experts in Analytics, Data Architecture and PostgreSQL
Data in Trouble? Get it in Treble! http://BlueTreble.com
855-TREBLE2 (855-873-2532)



pgsql-hackers by date:

Previous
From: Amos Bird
Date:
Subject: Re: make default TABLESPACE belong to target table.
Next
From: Tom Lane
Date:
Subject: Re: Wrong order of tests in findDependentObjects()