agora inbox for pgsql-sql@postgresql.org  
help / color / mirror / Atom feed
From: dave <audiotecture@web.de>
To: pgsql-sql@postgresql.org
Subject: Re: Recursive merging of overlapping arrays in a column
Date: Sun, 20 Sep 2015 12:40:12 -0700 (MST)
Message-ID: <1442778012511-5866585.post@n5.nabble.com> (raw)
In-Reply-To: <CAKFQuwZaOBndHjiyD9-b2bE3y2Mbd5ttQajT4BQ48cXbZZwxrQ@mail.gmail.com>
References: <1442747556700-5866560.post@n5.nabble.com>
	<55FEBBE0.8090902@gmail.com>
	<1442764637710-5866579.post@n5.nabble.com>
	<CAKFQuwZaOBndHjiyD9-b2bE3y2Mbd5ttQajT4BQ48cXbZZwxrQ@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-sql>

Hey David,

funnny that you give me that advice because that's exactly where I came
from.

I tried analyzing a adjacence table with several disjunct graphs without
real success, so I tried concatenating the values in the Table to arrays by
grouping the ids and then aggregating the overlaping arrays to finally get
the whole set of points for each graph as an array.
I have never worked with graph functions before, so I might be missing some
elegant solution here. My feeling was simply, that it would be easier to
merge the arrays like I did in my current approach.

Regards

Dave



--
View this message in context: http://postgresql.nabble.com/Recursive-merging-of-overlapping-arrays-in-a-column-tp5866560p5866585.h...
Sent from the PostgreSQL - sql mailing list archive at Nabble.com.


-- 
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql



view thread (7+ messages)  latest in thread

Message-ID: <1442778012511-5866585.post@n5.nabble.com>
Permalink:  ../1442778012511-5866585.post@n5.nabble.com/
Also on:    postgresql.org/message-id/1442778012511-5866585.post@n5.nabble.com

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: audiotecture@web.de
  Subject: Re: Recursive merging of overlapping arrays in a column
  In-Reply-To: <1442778012511-5866585.post@n5.nabble.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox