mirror of
https://github.com/postgres/postgres.git
synced 2025-07-24 14:22:24 +03:00
Add pow(), aka power(), function to pgbench.
Raúl Marín Rodríguez, reviewed by Fabien Coelho and Michael Paquier, with a minor fix by me. Discussion: http://postgr.es/m/CAM6_UM4XiA14y9HnDqu9kAAOtwMhHZxW--q_ZACZW9Hsrsf-tg@mail.gmail.com
This commit is contained in:
@ -194,6 +194,12 @@ static const struct
|
||||
{
|
||||
"random_zipfian", 3, PGBENCH_RANDOM_ZIPFIAN
|
||||
},
|
||||
{
|
||||
"pow", 2, PGBENCH_POW
|
||||
},
|
||||
{
|
||||
"power", 2, PGBENCH_POW
|
||||
},
|
||||
/* keep as last array element */
|
||||
{
|
||||
NULL, 0, 0
|
||||
|
Reference in New Issue
Block a user