Re: "Reverse" inheritance?

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Tim Uckun <timuckun(at)gmail(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: "Reverse" inheritance?
Date: 2017-04-04 02:15:46
Message-ID: CAKFQuwZ7Tchx71LZk7yr-ih4sTuT3pcGCiCr09nKSDe-bJk-ow@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, Apr 3, 2017 at 7:07 PM, Tim Uckun <timuckun(at)gmail(dot)com> wrote:

> I am trying to make postgres tables work like an object hierarchy. As an
> example I have done this.
>

​I suspect you are barking up the wrong tree ;)

You are probably better off incorporating something like the "ltree" type
to encode the taxonomy.

https://www.postgresql.org/docs/current/static/ltree.html

I haven't had a chance to leverage it myself but the concept it embodies is
solid.

David J.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tim Uckun 2017-04-04 03:19:53 Re: "Reverse" inheritance?
Previous Message Tim Uckun 2017-04-04 02:07:08 "Reverse" inheritance?