pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alban Hertroys <alban@magproductions.nl>
To: Jim C. Nasby <jnasby@pervasive.com>
Cc: Jorge Godoy <jgodoy@gmail.com>
Cc: pgsql-general@postgresql.org
Subject: Re: [SQL] (Ab)Using schemas and inheritance
Date: Wed, 24 May 2006 11:09:38 +0200
Message-ID: <447422D2.4060403@magproductions.nl> (raw)
In-Reply-To: <20060523232609.GP64371@pervasive.com>
References: <200605231716.58784.jgodoy@gmail.com>
	<20060523232609.GP64371@pervasive.com>

Jim C. Nasby wrote:
> Moving to -general, where it's more likely that others will have input.
> Perhaps the biggest issue is: what happens when you need to do DDL? If
> you have 1000 schemas that should be identical, you'll need to perform
> any DDL 1000 times.

What about using updatable views instead of inheritence? You'd need your 
company_id back, but adding new companies or modifying table definitions 
could be a lot easier (as long as you don't need to update all of your 
views...).

-- 
Alban Hertroys
alban@magproductions.nl

magproductions b.v.

T: ++31(0)534346874
F: ++31(0)534346876
M:
I: www.magproductions.nl
A: Postbus 416
    7500 AK Enschede

// Integrate Your World //



view thread (16+ messages)  latest in thread

Message-ID: <447422D2.4060403@magproductions.nl>
Permalink:  ../447422D2.4060403@magproductions.nl/
Also on:    postgresql.org/message-id/447422D2.4060403@magproductions.nl

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: alban@magproductions.nl, jnasby@pervasive.com, jgodoy@gmail.com, pgsql-general@postgresql.org
  Subject: Re: [SQL] (Ab)Using schemas and inheritance
  In-Reply-To: <447422D2.4060403@magproductions.nl>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox