Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f9DJ6-00059q-Eq for pgsql-general@arkaria.postgresql.org; Thu, 19 Apr 2018 17:25:16 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1f9DJ5-0007fj-7V for pgsql-general@arkaria.postgresql.org; Thu, 19 Apr 2018 17:25:15 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f9DFH-0001Jm-Lb for pgsql-general@lists.postgresql.org; Thu, 19 Apr 2018 17:21:19 +0000 Received: from [195.159.176.226] (helo=blaine.gmane.org) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1f9DF9-0001X5-9W for pgsql-general@postgresql.org; Thu, 19 Apr 2018 17:21:17 +0000 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1f9DCz-0003Pk-Hj for pgsql-general@postgresql.org; Thu, 19 Apr 2018 19:18:57 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: pgsql-general@postgresql.org From: Thomas Kellerer Subject: Re: postgres with graph model Date: Thu, 19 Apr 2018 19:21:00 +0200 Lines: 18 Message-ID: References: <9A0779C8-E09C-4B42-8FD3-759CA6C520B0@tu-clausthal.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@blaine.gmane.org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.21) Gecko/20090302 Thunderbird/2.0.0.21 Mnenhy/0.7.5.666 In-Reply-To: <9A0779C8-E09C-4B42-8FD3-759CA6C520B0@tu-clausthal.de> Content-Language: de-DE X-Host-Lookup-Failed: Reverse DNS lookup failed for 195.159.176.226 (failed) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Philipp Kraus schrieb am 19.04.2018 um 16:53: > I’m using in a project Postgresql and PostGIS for a geospatial data > model, but now I need also a graph in this structure, so my question > is, is there any existing extension for Postgres to build a graph. I > found ltree but this is for tree structures only, not for graphs. In > general I have different undirected weighted graphs. So I need some > routing algorithms based on the graph weights, distance calculation > between nodes. My first idea was to use a graph database e.g neo4j, > but I have got a limitation, that the whole system should be designed > in Postgres. > Did you can give some ideas to build a graph within Postgres? There is a Postgres fork that claims to combine the graph and relational world http://bitnine.net/agensgraph