Re: On Scalability - Mailing list pgsql-hackers

From Vincenzo Romano
Subject Re: On Scalability
Date
Msg-id AANLkTinHMonfzBwV55uHAX1KOnY6Zi5_PBdL1Z1E0KgY@mail.gmail.com
Whole thread Raw
In response to Re: On Scalability  (Stephen Frost <sfrost@snowman.net>)
Responses Re: On Scalability  (Stephen Frost <sfrost@snowman.net>)
List pgsql-hackers
2010/10/7 Stephen Frost <sfrost@snowman.net>:
> * Vincenzo Romano (vincenzo.romano@notorand.it) wrote:
>> I would expect a parser to ... ehm ... parse the CHECK constraint
>> expression at "CREATE TABLE " time and
>> extract all the needed "high quality metadata", like the list of
>> columns involved and the type of
>> checks (range, value list, etc.).
>
> Check constraints can be added after the table is created.  Inheiritance
> can be added/changed independently of check constraints.  Hacking all of
> the inheiritance, check constraint creation, and any other possibly
> involved code paths to try to figure out if this particular table, check
> constraint, inheiritance relationship, etc, is part of a partitioning
> setup isn't exactly trivial, or the right approach.
>
>        Thanks,
>
>                Stephen

I think none will say things are trivial.
So, what'd be the right approach in your vision?
I mean, if you think about partitioning a-la Oracle, then you'll have to
parse those expressions anyway.

--
Vincenzo Romano at NotOrAnd Information Technologies
Software Hardware Networking Training Support Security
--
cel +393398083886 fix +390823454163 fax +3902700506964
gtalk. vincenzo.romano@notorand.it skype. notorand.it
--
NON QVIETIS MARIBVS NAVTA PERITVS


pgsql-hackers by date:

Previous
From: Vincenzo Romano
Date:
Subject: Re: On Scalability
Next
From: "Kevin Grittner"
Date:
Subject: Re: On Scalability