From: | Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr> |
---|---|
To: | PostgreSQL Developers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | pgbench - test whether a variable exists |
Date: | 2018-02-19 18:23:04 |
Message-ID: | alpine.DEB.2.20.1802191909500.21372@lancre |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hello devs,
While investigating moving pgbench expressions to fe_utils so that they
can be shared with psql (\if ..., \let ?), I figure out that psql's \if
has a syntax to test whether a variable exists, which is not yet available
to pgbench.
This patch adds the same syntax to pgbench expression so that they can
represent this expression, already accepted by psql's \if.
Note that it is not really that useful for benchmarking, although it does
not harm.
--
Fabien.
Attachment | Content-Type | Size |
---|---|---|
pgbench-var-exists-1.patch | text/x-diff | 4.9 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2018-02-19 18:54:30 | Re: unique indexes on partitioned tables |
Previous Message | Jaime Casanova | 2018-02-19 18:16:47 | Re: unique indexes on partitioned tables |