remove forgotten reference to planUserId (hidden in assert)
authorTomas Vondra <[email protected]>
Thu, 10 Nov 2016 19:02:00 +0000 (20:02 +0100)
committerTomas Vondra <[email protected]>
Thu, 10 Nov 2016 19:02:00 +0000 (20:02 +0100)
src/backend/utils/cache/plancache.c

index 3a5d89f7215adacebfc7a7740793895965b92b45..a7cc6b13a5172851c7f60038a61b09775a619b2a 100644 (file)
@@ -630,8 +630,6 @@ RevalidateCachedQuery(CachedPlanSource *plansource)
         */
        if (plansource->is_valid)
        {
-               Assert(OidIsValid(plansource->planUserId));
-
                Assert(plansource->search_path != NULL);
                if (!OverrideSearchPathMatchesCurrent(plansource->search_path))
                {