Re: Auto Partitioning

From: David Fetter <david(at)fetter(dot)org>
To: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
Cc: Gregory Stark <stark(at)enterprisedb(dot)com>, Simon Riggs <simon(at)2ndquadrant(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Markus Schiltknecht <markus(at)bluegap(dot)ch>, Martijn van Oosterhout <kleptog(at)svana(dot)org>, NikhilS <nikkhils(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Auto Partitioning
Date: 2007-04-06 17:07:57
Message-ID: 20070406170757.GA3784@fetter.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

On Fri, Apr 06, 2007 at 09:22:55AM -0700, Joshua D. Drake wrote:

> >The people that use it are the people stuck by dogmatic rules about
> >"every table must have a primary key" or "every logical constraint
> >must be protected by a database constraint". Ie, database shops run
> >by the CYA principle.
>
> Or ones that actually believe that every table where possible should
> have a primary key.
>
> There are very, very few instances in good design where a table does
> not have a primary key.
>
> It has nothing to do with CYA.

That depends on what you mean by CYA. If you mean, "taking a
precaution just so you can show it's not your fault when the mature
hits the fan," I agree. If you mean, "taking a precaution that will
actually prevent a problem from occurring in the first place," it
definitely does.

Cheers,
D
--
David Fetter <david(at)fetter(dot)org> http://fetter.org/
phone: +1 415 235 3778 AIM: dfetter666
Skype: davidfetter

Remember to vote!
Consider donating to PostgreSQL: http://www.postgresql.org/about/donate

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Joshua D. Drake 2007-04-06 17:12:59 Re: Auto Partitioning
Previous Message Tom Lane 2007-04-06 17:04:08 Re: Fix for large file support

Browse pgsql-patches by date

  From Date Subject
Next Message Joshua D. Drake 2007-04-06 17:12:59 Re: Auto Partitioning
Previous Message Tom Lane 2007-04-06 17:04:08 Re: Fix for large file support