Re: Functional Index Question

From: hubert depesz lubaczewski <depesz(at)depesz(dot)com>
To: "James B(dot) Byrne" <byrnejb(at)harte-lyne(dot)ca>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Functional Index Question
Date: 2008-03-13 13:08:25
Message-ID: 20080313130825.GA8185@depesz.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Mar 13, 2008 at 09:04:28AM -0400, James B. Byrne wrote:
> To return to my first question. Is doing this sort of thing considered good a
> practice?

for me - yes. keeping it in database is the best and safest option.
but you might get "issues" with orms.

> where they really belong. However, the prevailing sentiment of the community
> surrounding Rails seems to hold otherwise so I wonder if this is really the
> right thing to do.

every (or nearly every) community around web-frameworks loves orms, and
thus doesn't like "too smart" databases.

depesz
--
quicksil1er: "postgres is excellent, but like any DB it requires a
highly paid DBA. here's my CV!" :)
http://www.depesz.com/ - blog dla ciebie (i moje CV)

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Clodoaldo 2008-03-13 13:12:07 Reindex does not finish 8.2.6
Previous Message James B. Byrne 2008-03-13 13:04:28 Re: Functional Index Question