Re: Limits of SQL

Поиск
Список
Период
Сортировка
Искать
От
Ben
Тема
Re: Limits of SQL
Дата
Msg-id
Pine.LNX.4.44.0506021244200.5624-100000@localhost.localdomain
Ответ на
Limits of SQL (Joachim Zobel)
Список
Дерево обсуждения
Limits of SQL Joachim Zobel <jzobel@heute-morgen.de>
Re: Limits of SQL Sean Davis <sdavis2@mail.nih.gov>
Re: Limits of SQL Scott Ribe <scott_ribe@killerbytes.com>
Re: Limits of SQL Philip Hallstrom <postgresql@philip.pjkh.com>
Re: Limits of SQL Oleg Bartunov <oleg@sai.msu.su>
Re: Limits of SQL Ben <bench@silentmedia.com>
Re: Limits of SQL Joachim Zobel <jzobel@heute-morgen.de>
Re: Limits of SQL Bruno Wolff III <bruno@wolff.to>
Re: Limits of SQL Joachim Zobel <jzobel@heute-morgen.de>
Re: Limits of SQL Bruno Wolff III <bruno@wolff.to>
Re: Limits of SQL Joachim Zobel <jzobel@heute-morgen.de>
Re: Limits of SQL Andreas Seltenreich <seltenreich@gmx.de>
You mean, you want to be able to say something like:

select isConnected(a,b)

and get back a true/false, or maybe the path?

That seems quite doable in SQL, assuming you either store those results 
and simply use sql to retrieve them, or use a stored proc to compute the 
result each time.

On Thu, 2 Jun 2005, Joachim Zobel wrote:

> Hi.
> 
> I am looking for a way to write a SELECT that finds connectivity
> components of a graph or at least for one that given two nodes
> determines if there is a path between them. It seems that this is not
> possible, no matter what graph representation I choose. Which constructs
> from set theory are missing in SQL? Set of all subsets is one I am
> missing, or can it be done somehow?
> 
> Is anybody else thinking about the limits of SQL? As often I am probably
> not the first to ask these questions. Any pointers?
> 
> Sincerely,
> Joachim
> 
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
> 
>                http://archives.postgresql.org
> 


В списке pgsql-general по дате отправления
От: Bruno Wolff III
Дата:
От: Oleg Bartunov
Дата:
Сообщение: Re: Limits of SQL
FAQ