Re: Foreign keys in pgbench

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jeff Janes <jeff.janes@gmail.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2012-06-19T22:35:15Z
Lists: pgsql-hackers
Jeff Janes <jeff.janes@gmail.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