Re: Auto-extending table partitions? - Mailing list pgsql-hackers

From David Fetter
Subject Re: Auto-extending table partitions?
Date
Msg-id 20100107151139.GB30864@fetter.org
Whole thread Raw
In response to Re: Auto-extending table partitions?  (Chetan Suttraway <chetan.suttraway@enterprisedb.com>)
List pgsql-hackers
On Thu, Jan 07, 2010 at 08:01:16PM +0530, Chetan Suttraway wrote:
> Adding on to this use case:
> what do we do when we reach end of year?
> Probably auto-archive as per weekly, monthly , quarterly or yearly tables?

Because such requirements are so specific to each place, it's easier
to do this in your own code.  While managing partitions may get
simpler than our current table inheritance, it's unlikely that
automated tools will ever be able to handle all the cases for it, so
that coding is likely to be part of your partitioning strategy for the
foreseeable future.

Cheers,
David.

P.S.  Please do trim, as I just did, and don't top post.
-- 
David Fetter <david@fetter.org> http://fetter.org/
Phone: +1 415 235 3778  AIM: dfetter666  Yahoo!: dfetter
Skype: davidfetter      XMPP: david.fetter@gmail.com
iCal: webcal://www.tripit.com/feed/ical/people/david74/tripit.ics

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


pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: 'replication' keyword on .pgpass (Streaming Replication)
Next
From: Andres Freund
Date:
Subject: Re: Hot Standy introduced problem with query cancel behavior