Jeff Janes <jeff(dot)janes(at)gmail(dot)com> writes:
> I think that pgbench should it make it easy to assess the impact of
> foreign key constraints.
> The attached adds a --foreign-keys option to initialization mode which
> creates all the relevant constraints between the default tables.
I had need of this for testing what I'm doing with foreign keys,
so I went ahead and gave it a quick review (just cosmetic changes)
and committed it.
regards, tom lane