Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 514069FBF77 for ; Thu, 8 Mar 2007 16:03:08 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-new, port 10024) with ESMTP id 56213-03 for ; Thu, 8 Mar 2007 16:02:59 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from mail.metronet.co.uk (mail.metronet.co.uk [213.162.97.75]) by postgresql.org (Postfix) with ESMTP id 823089FBEDF for ; Thu, 8 Mar 2007 16:02:59 -0400 (AST) Received: from server3.office.archonet.com (84-51-143-99.archon037.adsl.metronet.co.uk [84.51.143.99]) by smtp.metronet.co.uk (MetroNet Mail) with ESMTP id 3FBB4757C6; Thu, 8 Mar 2007 19:58:55 +0000 (GMT) Received: from [192.168.1.36] (dell36.office.archonet.com [192.168.1.36]) by server3.office.archonet.com (Postfix) with ESMTP id BF26527400D; Thu, 8 Mar 2007 19:58:54 +0000 (GMT) Message-ID: <45F06AFE.3050103@archonet.com> Date: Thu, 08 Mar 2007 19:58:54 +0000 From: Richard Huxton User-Agent: IceDove 1.5.0.9 (X11/20061220) MIME-Version: 1.0 To: Greg Toombs Cc: pgsql-sql@postgresql.org Subject: Re: A form of inheritance with PostgreSQL References: <45F04F8F.8030800@bluebottle.com> In-Reply-To: <45F04F8F.8030800@bluebottle.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.205 tagged_above=0 required=5 tests=AWL, BAYES_50, FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200703/83 X-Sequence-Number: 27721 Greg Toombs wrote: > Hello. > > I'm trying to figure out how to nicely implement a C++ class-like system with > PostgreSQL. Consider the following: Don't do a lot of this myself, but I do know that there are several object-relational mappers that do this sort of stuff for you. Might be worth a bit of googling. -- Richard Huxton Archonet Ltd