bdr-drops: Set "normal" flag when DEPFLAG_REVERSE
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Fri, 16 May 2014 16:58:29 +0000 (12:58 -0400)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Wed, 18 Jun 2014 15:39:50 +0000 (11:39 -0400)
commit97c8dc0770eb19021cc7d37798f964c6e51aeab3
tree0ca7c70836daeda5525d0b2b5f5e73828c316fc4
parentdab9ecbd431f90733b1e6cb4024b1e7df34b9cf7
bdr-drops: Set "normal" flag when DEPFLAG_REVERSE

This seems to fix the problem for views depending on tables without
causing problems elsewhere.

Whether this approach is really correct remains to be seen.  Do we need
a separate flag in pg_event_trigger_get_dropped_objects() to return the
"reverse internal" status?  Seems awkward, so for now just turn it into
a "normal" dependency instead.
src/backend/catalog/dependency.c