Re: explain and PARAM_EXEC

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Yeb Havinga <yebhavinga@gmail.com>
Cc: Robert Haas <robertmhaas@gmail.com>, pgsql-hackers@postgresql.org
Date: 2010-04-01T16:28:56Z
Lists: pgsql-hackers
Yeb Havinga <yebhavinga@gmail.com> writes:
> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <html>
> <head>
>   <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
> </head>
> <body bgcolor="#ffffff" text="#000000">
> Tom Lane wrote:
> <br>
> <blockquote cite="mid:4BA361F2.5010509@gmail.com" type="cite">
>   <blockquote type="cite">In principle it could look something like

[ etc etc ]

Please do not send HTML-only email to the lists.  It's a PITA to work with.

Anyway, I hadn't looked at your patch before, but now that I have, it's
not even approximately what I was suggesting.  What I thought you should
do was change ruleutils.c to print the parameter expressions at the call
site, ie in the T_SubPlan and T_AlternativeSubPlan cases in get_rule_expr.

			regards, tom lane