Re: recursive queries?

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Ron Peterson <rpeterson(at)yellowbank(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: recursive queries?
Date: 2000-04-10 20:45:14
Message-ID: Pine.LNX.4.21.0004102233410.460-100000@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Ron Peterson writes:

> The problem is, while it's easy enough to define such a data
> structure, support for recursive queries is rather lacking. To unroll
> a directory tree, you basically have to resort to programming in
> <insert your favorite language>.

Well, nothing is perfect, and this is exactly the point where relational
databases aren't. A lot of people that are a lot more educated than me on
the matter have commented on just this in detail for years and decades so
you should be able to find enough material out there if you're interested.
Apparently, this sort of thing worked in network and/or hierarchical
databases (which came before relational) and object oriented databases are
supposes to fix it again, but the fact that all the world uses relational
databases shows that either recursion (infinite joins) isn't widely useful
or that the other advantages outweigh this problem. Not sure.

--
Peter Eisentraut Sernanders väg 10:115
peter_e(at)gmx(dot)net 75262 Uppsala
http://yi.org/peter-e/ Sweden

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Merrill Oveson 2000-04-10 21:05:36 describe command
Previous Message Haroldo Stenger 2000-04-10 20:38:12 PostgreSQL-JDBC correct URL