pgsql: Add pgbench option to add foreign key constraints to the standar

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add pgbench option to add foreign key constraints to the standar
Date: 2012-06-19 22:34:07
Message-ID: E1Sh6zv-00011X-83@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Add pgbench option to add foreign key constraints to the standard scenario.

The option --foreign-keys, used at initialization time, will create foreign
key constraints for the columns that represent references to other tables'
primary keys. This can help in benchmarking FK performance.

Jeff Janes

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/afe1c51c9d65c67c7474c60d64bceefe9953dde6

Modified Files
--------------
contrib/pgbench/pgbench.c | 41 ++++++++++++++++++++++++++++++++++-------
doc/src/sgml/pgbench.sgml | 9 +++++++++
2 files changed, 43 insertions(+), 7 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2012-06-20 00:08:00 pgsql: Improve tests for whether we can skip queueing RI enforcement tr
Previous Message Alvaro Herrera 2012-06-19 21:28:21 pgsql: pg_dump: Fix verbosity level in LO progress messages