Re: PostgreSQL Object-Oriented Database?

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Robert Pepersack <RPepersack(at)mdinsurance(dot)state(dot)md(dot)us>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: PostgreSQL Object-Oriented Database?
Date: 2009-04-27 20:19:28
Message-ID: 20090427201928.GG10358@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Robert Pepersack wrote:

> My agency has a contractor that created a PostgreSQL database that he
> calls "object-oriented". I noticed that the contractor has more than
> one value in a column separated by commas. In the relational world,
> this obviously violates first normal form. When I asked about it, he
> said that it's because PostgreSQL is an "object-oriented database".
> I'm very skeptical.

What kind of "comma-separated"? If it's an array (i.e. perhaps a column
declared as text[]), then maybe it's not that wrong, as has been said
elsewhere on the thread (but I would agree with you that if there's no
specific reason to do things that way, it's probably less right than
your contractor wants to admit). If it is actually a single text column
with comma separated values, and the splitting is done client-side, I'd
hazard that you're probably right in placing blame in the contractor.

--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Scott Marlowe 2009-04-27 20:32:22 triggers and execute...
Previous Message Alexey Klyukin 2009-04-27 19:53:25 Re: status of pl/php