Re: [pgsql-general 2011-1-21:] Are there any projects interested in object functionality? (+ rule bases)

Kevin Grittner <kevin.grittner@wicourts.gov>

From: "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
To: "Robert Haas" <robertmhaas@gmail.com>, "Nick Rudnick" <joerg.rudnick@t-online.de>
Cc: <pgsql-hackers@postgresql.org>
Date: 2011-02-01T21:08:54Z
Lists: pgsql-hackers
Nick Rudnick <joerg.rudnick@t-online.de> wrote:
 
> here an inelegant example
 
Based on that example, you should be sure to look at the INHERITS
clause of CREATE TABLE:
 
http://www.postgresql.org/docs/current/interactive/sql-createtable.html
 
PostgreSQL has the "is a" structure built in.  That may not get you
all the way there, but between that and a few views, you might get
close without needing a lot of low level infrastructure work.
 
-Kevin