From: | Greg Stark <gsstark(at)mit(dot)edu> |
---|---|
To: | David Pratt <fairwinds(at)eastlink(dot)ca> |
Cc: | Greg Stark <gsstark(at)mit(dot)edu>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: Advice on structure /sequence / trigger |
Date: | 2005-07-02 16:44:54 |
Message-ID: | 87ll4pw41l.fsf@stark.xeocode.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
David Pratt <fairwinds(at)eastlink(dot)ca> writes:
> Hi Greg. Sorry for getting back to you so late on this. I think your idea on
> the design is spot on since it will give me referential integrity with my other
> and the multi-language will just be a simple two field table with id and
> multi-dimensional array of language codes to string. Super idea! Even if the
> array gets larger it is not a big issue since postgres can easily handle it.
I don't think that's my idea at all. Basically my model does not normalize the
localized strings at all. It stores them in place in an array using fixed
indexes for each language. It doesn't have a separate multi-language table or
id numbers for translated strings.
--
greg
From | Date | Subject | |
---|---|---|---|
Next Message | Dawid Kuroczko | 2005-07-02 17:01:44 | Re: Which record causes referential integrity violation on delete |
Previous Message | Tom Lane | 2005-07-02 16:36:49 | Re: Which record causes referential integrity violation on delete |