Re: [HACKERS] pgbench more operators & functions

From: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
To: Teodor Sigaev <teodor(at)sigaev(dot)ru>
Cc: Raúl Marín Rodríguez <rmrodriguez(at)carto(dot)com>, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, PostgreSQL Developers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [HACKERS] pgbench more operators & functions
Date: 2017-12-28 22:03:23
Message-ID: alpine.DEB.2.20.1712281648020.22976@lancre
Views: Raw Message | Whole Thread | Download mbox
Thread:
Lists: pgsql-hackers


> Investigating your patch I found that all arguments of logical AND/OR and
> CASE are always evaluated. Seems, it should not be for pair of reasons:
>
> [...]
>
> SQL doesn't evaluate unneeded arguments:

Here is a version with some lazy evaluation for and, or & case.

--
Fabien.

Attachment Content-Type Size
pgbench-more-ops-funcs-22.patch text/x-diff 49.9 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David Steele 2017-12-28 22:36:07 Re: Re: PATCH: Configurable file mode mask
Previous Message Alvaro Herrera 2017-12-28 21:53:04 Re: [HACKERS] Proposal: Local indexes for partitioned table