[Nitro] [PATCH] glue-validations-to-og

Reid Thompson reid.thompson at ateb.com
Fri Apr 14 22:58:51 EDT 2006


Bryan Soto wrote:
> On 4/13/06, Dimitri Aivaliotis <aglarond at gmail.com> wrote:
>   
>>> Patch is available here if you're interested. I'd be quite happy with
>>> more testers. :) I don't think it will make it in the repo till after
>>> 0.30 though if then.
>>>       
>> I did see the patch.  I was hesitant about applying because of the STI
>> issues.  I haven't yet converted my legacy apps over to Og, so I don't
>> know what effects the patches will have on a real application.
>>
>>     
>
> STI issues? Was it you that mentioned Postgres provides table
> inheritance? Og follows it as quasi-outlined at:
> http://martinfowler.com/eaaCatalog/singleTableInheritance.html where
> all the subclasses are stored in a single table. Of course, that is
> based off of databases not supporting actual table inheritance. :)
>
> The only other STI issue is that postgres was determining whether a
> class is STI differently from the other stores. The patch addresses it
> by removing the method overrides the postgres adapter does. It
> actually removes a lot of postgres code and reuses from the
> superclass. Has the pleasant benefit of making the stores function
> similarly as well as being the textbook beginnings of refactoring. :)
>
>   
These links provide information on inheritance in postgresql...

http://www.postgresql.org/docs/8.1/static/tutorial-inheritance.html

http://www.postgresql.org/docs/8.1/static/ddl-inherit.html

http://www.varlena.com/GeneralBits/98.php



interesting usage...
http://ryandaigle.com/pebble/2005/11/15/1132070306836.html



More information about the Nitro-general mailing list