Re: pg_get_viewdef 7.4 et al - Mailing list pgsql-hackers

From Tom Lane
Subject Re: pg_get_viewdef 7.4 et al
Date
Msg-id 4202.1049861656@sss.pgh.pa.us
Whole thread Raw
In response to pg_get_viewdef 7.4 et al  (Andreas Pflug <Andreas.Pflug@web.de>)
Responses Re: pg_get_viewdef 7.4 et al  (Andreas Pflug <Andreas.Pflug@web.de>)
List pgsql-hackers
Andreas Pflug <Andreas.Pflug@web.de> writes:
> here's my proposal for a more economical use of parentheses.

I believe the proposed patch breaks many nontrivial cases (though it's
quite hard to be sure exactly what it does, given a non-contextual diff
:-().  Have you tried running its output back into the system to see
whether the querytree is reconstructed exactly?  Don't forget to try
cases where parentheses were used in the original source to force a
non-default evaluation order.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Anyone working on better transaction locking?
Next
From: Tom Lane
Date:
Subject: Re: [INTERFACES] More protocol discussion: breaking down query processing