Re: patch: remove redundant code from pl_exec.c - Mailing list pgsql-hackers

From Tom Lane
Subject Re: patch: remove redundant code from pl_exec.c
Date
Msg-id 29866.1292600154@sss.pgh.pa.us
Whole thread Raw
In response to Re: patch: remove redundant code from pl_exec.c  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: patch: remove redundant code from pl_exec.c  (Pavel Stehule <pavel.stehule@gmail.com>)
List pgsql-hackers
Pavel Stehule <pavel.stehule@gmail.com> writes:
> 2010/12/17 Tom Lane <tgl@sss.pgh.pa.us>:
>> I'm not really impressed with this idea: there's no a priori reason
>> that all those loop types would necessarily have exactly the same
>> control logic.

> There is no reason why the processing should be same, but actually is same.

Yes, and it might need to be different in future, whereupon this patch
would make life extremely difficult.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: proposal: FOREACH-IN-ARRAY (probably for 9.2?)
Next
From: Tom Lane
Date:
Subject: Re: ps_status on fastpath