Re: [HACKERS] Issue with circular references in VIEW - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [HACKERS] Issue with circular references in VIEW
Date
Msg-id 1091.1500923916@sss.pgh.pa.us
Whole thread Raw
In response to Re: [HACKERS] Issue with circular references in VIEW  (Gilles Darold <gilles.darold@dalibo.com>)
Responses Re: [HACKERS] Issue with circular references in VIEW
List pgsql-hackers
Gilles Darold <gilles.darold@dalibo.com> writes:
> Le 24/07/2017 à 19:19, Tom Lane a écrit :
>> ... I'm inclined to think in terms of fixing it at that level
>> rather than in pg_dump.  It doesn't look like it would be hard to fix:
>> both functions ultimately call get_query_def(), it's just that one passes
>> down a tuple descriptor for the view while the other currently doesn't.

> I was thinking that this was intentional that pg_get_ruledef() returns
> the raw code typed by the user. I will fix it and send a patch following
> your explanation.

Oh, I just committed a patch.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Thomas Munro
Date:
Subject: Re: [HACKERS] Buildfarm failure and dubious coding in predicate.c
Next
From: Tom Lane
Date:
Subject: Re: [HACKERS] Buildfarm failure and dubious coding in predicate.c