Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cqhl2-0005kd-Jd for pgsql-hackers@arkaria.postgresql.org; Wed, 22 Mar 2017 15:01:04 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cqhl2-0006QA-3D for pgsql-hackers@arkaria.postgresql.org; Wed, 22 Mar 2017 15:01:04 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cqhl0-0006O6-5R for pgsql-hackers@postgresql.org; Wed, 22 Mar 2017 15:01:02 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cqhks-0007Bp-Vb for pgsql-hackers@postgresql.org; Wed, 22 Mar 2017 15:01:01 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id v2MF0cEf031923; Wed, 22 Mar 2017 11:00:38 -0400 From: Tom Lane To: Andres Freund cc: Heikki Linnakangas , Tomas Vondra , pgsql-hackers@postgresql.org Subject: Re: WIP: Faster Expression Processing v4 In-reply-to: <20170322145240.vt2iolwt6vpmx33z@alap3.anarazel.de> References: <20170307030137.lpo4japv5oqgbqpz@alap3.anarazel.de> <2090fd00-4dec-7b42-f700-64308958504c@2ndquadrant.com> <20170313080351.4g5oubxcj4xj5y7t@alap3.anarazel.de> <20170314065259.ffef4tfhgbsaieoe@alap3.anarazel.de> <69b7bb0e-8dab-3d39-1a89-3c6ab6409f64@iki.fi> <20170314224706.nxvtapenky6eom3z@alap3.anarazel.de> <13062.1489622943@sss.pgh.pa.us> <20170320062511.hp5qeurtxrwsvfxr@alap3.anarazel.de> <31150.1490193666@sss.pgh.pa.us> <20170322145240.vt2iolwt6vpmx33z@alap3.anarazel.de> Comments: In-reply-to Andres Freund message dated "Wed, 22 Mar 2017 07:52:40 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <31921.1490194838.1@sss.pgh.pa.us> Date: Wed, 22 Mar 2017 11:00:38 -0400 Message-ID: <31922.1490194838@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Andres Freund writes: > On 2017-03-22 10:41:06 -0400, Tom Lane wrote: >> * execQual.c doesn't seem to have a unifying reason to exist anymore. >> It certainly has little to do with evaluating typical qual expressions; >> what's left in there seems to be mostly concerned with SRFs. I feel >> like it might be a good idea to rename it, but to what? execExprUtils.c >> perhaps? Or maybe we should destroy it altogether, shoving the SRF >> stuff into nodeFunctionscan.c and moving what little remains into >> execUtils.c. > Yea, I was wondering about that too. What would we do with > GetAttributeByName/Num? I was thinking execUtils.c for those. >> * I do not like the function name ExecInstantiateExpr(). Webster's >> defines "instantiate" as "to represent (an abstraction) by a concrete >> instance", which does not seem to me to have a lot to do with what this >> function actually does. >> ... > Either of those work, but they don't strike me as perfect either, but I > can't come up with something better (ExecReadyExprForExec()?). Actually, ExecReadyExpr seems kind of nice for this (using "ready" in its verb sense, "to prepare (someone or something) for an activity or purpose"). regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers