Re: PostgreSQL for VAX on NetBSD/OpenBSD

From: Andres Freund <andres(at)anarazel(dot)de>
To: Greg Stark <stark(at)mit(dot)edu>, Andrew Gierth <andrew(at)tao11(dot)riddles(dot)org(dot)uk>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, John Klos <john(at)ziaspace(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, port-vax(at)netbsd(dot)org, vax(at)openbsd(dot)org, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: PostgreSQL for VAX on NetBSD/OpenBSD
Date: 2015-08-20 15:55:48
Message-ID: 20150820155548.GB27991@awork2.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2015-08-20 16:42:21 +0100, Greg Stark wrote:
> Ah, I was wrong. It's not the tablesample test -- I think that was the
> last one to complete. Annoyingly we don't seem to print test names
> until they finish.
>
> It was groupingsets. And it's stuck again on the same query:
>
> regression=# select
> pid,now()-query_start,now()-state_change,waiting,state,query from
> pg_stat_activity where pid <> pg_backend_pid();
> +------+-----------------+-----------------+---------+--------+------------------------------------------------------+
> | pid | ?column? | ?column? | waiting | state |
> query |
> +------+-----------------+-----------------+---------+--------+------------------------------------------------------+
> | 9185 | 00:53:38.571552 | 00:53:38.571552 | f | active | select
> a, b, grouping(a,b), sum(v), count(*), max(v)#|
> | | | | | | from
> gstest1 group by rollup (a,b); |
> +------+-----------------+-----------------+---------+--------+------------------------------------------------------+
>
> It's only been stuck an hour so it's possible it's still running but
> this morning it was the same query that was running for 7 hours so I'm
> guessing not.

Interesting.

> Unfortunately I appear to have built without debugging symbols so
> it'll be a couple days before I can rebuild with symbols to get a back
> trace. (I vaguely remember when builds took hours but I don't recall
> ever having to wait 48 hours for a build even back then)

Without any further clues I'd guess it's stuck somewhere in
bipartite_match.c. That's the only place where floating point problmes
would possibly result in getting stuck.

I'm all for making sure these issues are indeed caused by platform
specific float oddities, and not a more fundamental problem. But to me
the state of this port, as evidenced in this thread, seems to be too bad
to be worthwhile keeping alive. Especially since there's really no
imaginable use case except for playing around.

Greetings,

Andres Freund

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Joshua D. Drake 2015-08-20 15:57:19 Re: (full) Memory context dump considered harmful
Previous Message Corey Huinker 2015-08-20 15:51:54 Re: Declarative partitioning