Add pgbench option to add foreign key constraints to the standard scenario.
Tom 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
Files
| Path | Change | +/− |
|---|---|---|
| contrib/pgbench/pgbench.c | modified | +34 −7 |
| doc/src/sgml/pgbench.sgml | modified | +9 −0 |