Re: Foreign keys in pgbench

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Foreign keys in pgbench
Date: 2012-06-19 22:35:15
Message-ID: 3277.1340145315@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Josh Berkus 2012-06-19 23:33:32 Re: Backport of fsync queue compaction
Previous Message Andres Freund 2012-06-19 22:30:38 Re: WAL format changes