pgbench more operators & functions

From: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
To: PostgreSQL Developers <pgsql-hackers(at)postgresql(dot)org>
Subject: pgbench more operators & functions
Date: 2016-04-03 05:54:16
Message-ID: alpine.DEB.2.10.1604030742390.31618@sto
Views: Raw Message | Whole Thread | Download mbox
Thread:
Lists: pgsql-hackers


Hello,

Here is a simple patch which adds a bunch of operators (bitwise: & | ^ ~,
comparisons: =/== <>/!= < <= > >=, logical: and/&& or/|| xor/^^ not/!) and
functions (exp ln if) to pgbench. I've tried to be pg's SQL compatible
where appropriate.

Also attached is a simple test script.

Some kind of continuations in \ commands would be a good thing.

--
Fabien.

Attachment Content-Type Size
pgbench-more-ops-funcs-1.patch text/x-diff 12.1 KB
functions.sql application/x-sql 875 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alex Shulgin 2016-04-03 06:24:21 Re: More stable query plans via more predictable column statistics
Previous Message Tom Lane 2016-04-03 05:49:54 Re: More stable query plans via more predictable column statistics