Re: Wrong order of tests in findDependentObjects()

Jim Nasby <jim.nasby@bluetreble.com>

From: Jim Nasby <Jim.Nasby@BlueTreble.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: <pgsql-hackers@postgresql.org>
Date: 2016-12-01T23:14:36Z
Lists: pgsql-hackers
On 12/1/16 1:09 PM, Tom Lane wrote:
> I think that the patch I wrote is good cleanup, so I'm still inclined
> to apply it in HEAD, but I no longer think it's fixing any case that's
> significant in the field.  I wonder if you have a counterexample?

No; I'm sure I've run into this because of a temp object other than a 
table (probably a function, though possibly something else).
-- 
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)


Commits

  1. Delete deleteWhatDependsOn() in favor of more performDeletion() flag bits.

  2. Fix some issues with temp/transient tables in extension scripts.