Re: CREATE RULE may generate duplicate entries in pg_depend - Mailing list pgsql-hackers

From Tom Lane
Subject Re: CREATE RULE may generate duplicate entries in pg_depend
Date
Msg-id 2981628.1598478216@sss.pgh.pa.us
Whole thread Raw
In response to CREATE RULE may generate duplicate entries in pg_depend  (Ashwin Agrawal <ashwinstar@gmail.com>)
List pgsql-hackers
Ashwin Agrawal <ashwinstar@gmail.com> writes:
> If action and qual reference same object in CREATE RULE, it results in
> creating duplicate entries in pg_depend for it. Doesn't pose any harm, just
> unnecessarily bloats pg_depend.

Yeah, we generally don't try that hard to prevent duplicate pg_depend
entries.  It's relatively easy to get rid of them in limited contexts
like a single expression, but over a wider scope, I doubt it's worth
the trouble.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Ashwin Agrawal
Date:
Subject: CREATE RULE may generate duplicate entries in pg_depend
Next
From: Anastasia Lubennikova
Date:
Subject: Re: [PATCH] Covering SPGiST index