Re: extend pgbench expressions with functions

From: BeomYong Lee <bylee(at)bitnine(dot)co(dot)kr>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: extend pgbench expressions with functions
Date: 2015-09-12 02:25:06
Message-ID: 20150912022506.2622.36178.pgcf@coridan.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

The following review has been posted through the commitfest application:
make installcheck-world: tested, failed
Implements feature: tested, failed
Spec compliant: tested, failed
Documentation: tested, failed

Hello.

I installed centos 6.7 version on virtualbax, have cloned postgres from GitHub.
And then i patched to postgres as the patch file with the following command:
$ patch -p1 < pgbench-expr-abs-9.patch

To make sure that the patch apply to postgres, i wrote two script files.
The script file is:
$ cat before.sql
\set naccounts 100000 * :scale
\setrandom aid 1 :naccounts
$ cat after.sql
\set aid random(1, 100000 * :scale)

Using the script file in pgbench, i run :
$ ./pgbench -T 3 -P 1 -f before.sql
$ ./pgbench -T 3 -P 1 -f after.sql

This was run well. I test for the functions(e.g abs, ddebug, double, exporand, idebug, int, gaussrand, min, max, random, sqrt) mentioned in the patch, it was also executed without error.

Finally i reviewed code in patch, but did not find to error.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message BeomYong Lee 2015-09-12 02:36:45 Re: extend pgbench expressions with functions
Previous Message Thom Brown 2015-09-12 00:04:58 Re: [PROPOSAL] VACUUM Progress Checker.