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

Started by Tom Laneabout 14 years ago1 messagescomitters
Jump to latest
#1Tom Lane
tgl@sss.pgh.pa.us

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