Re: Design question

From: Richard Huxton <dev(at)archonet(dot)com>
To: Mike Diehl <mdiehl(at)diehlnet(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Design question
Date: 2008-09-17 19:38:18
Message-ID: 48D15CAA.60705@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Mike Diehl wrote:
> 1. Create a table for each spreadsheet, using column headings as field names.
> Every field would be a char/varchar. We might have a table to track which
> client owns which table. This could amount to 10's of tables being added to
> the db.

Give each client their own schema. Set permissions on the whole schema.
You should be fine with a few dozen or a few hundred tables. You can
also dump/restore a whole schema then.

--
Richard Huxton
Archonet Ltd

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Scott Marlowe 2008-09-17 19:38:55 Re: 8.3.3 stability ?
Previous Message Scott Marlowe 2008-09-17 19:27:23 Re: Design question