Re: Critique needed for contact-DB draft

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: Critique needed for contact-DB draft
Дата
Msg-id 20040715043555.GA11252@wolff.to
обсуждение исходный текст
Ответ на Critique needed for contact-DB draft  ("Felix E. Klee" <felix.klee@inka.de>)
Список pgsql-novice
On Thu, Jul 15, 2004 at 02:27:37 +0200,
  "Felix E. Klee" <felix.klee@inka.de> wrote:
>
> I'm especially interested on your take of my use of arrays. They avoid
> the need for additional tables, but maybe they are not good,
> nevertheless?
>
> BTW, what I'm really missing is as a newbie is a way to define new data
> types as "structures" as known from e.g. the C programming language (or
> is this supported by PostgreSQL?). That would IMHO be a more natural
> concept for storing data (for example, then I could create an array of
> addresses for each contact).

You don't want to do that. You want to have a person table and a table
that contains a record for each contact address combination. Depending
on how you are using the addresses you might also want a separate address
table.

В списке pgsql-novice по дате отправления:

Предыдущее
От: "Felix E. Klee"
Дата:
Сообщение: Critique needed for contact-DB draft
Следующее
От: Steve Crawford
Дата:
Сообщение: Re: Critique needed for contact-DB draft