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

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(-)