From: | Andres Freund <andres(at)anarazel(dot)de> |
---|---|
To: | Erik Rijkers <er(at)xs4all(dot)nl>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: TRAP: FailedAssertion("!(hassrf)", File: "nodeProjectSet.c", Line: 180) |
Date: | 2017-02-01 23:36:53 |
Message-ID: | 20170201233653.wnc6f3x4rsgid2sq@alap3.anarazel.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi,
On 2017-02-02 00:09:03 +0100, Erik Rijkers wrote:
> Something is broken in HEAD:
Hm. Indeed.
> drop table if exists t;
> create table t(c text);
> insert into t (c) values ( 'abc' ) ;
>
> select
> regexp_split_to_array(
> regexp_split_to_table(
> c
> , chr(13) || chr(10) )
> , '","' )
> as a
> ,
> regexp_split_to_table(
> c
> , chr(13) || chr(10)
> )
> as rw
> from t
> ;
>
> TRAP: FailedAssertion("!(hassrf)", File: "nodeProjectSet.c", Line: 180)
> I realise the regexp* functions aren't doing anything particularly useful
> anymore here; they did in the more complicated original (which I had used
> for years).
The issue is that we're generating ProjectSet nodes instead of Result
for the top-level nodes - but we currently assume that ProjectSet nodes
actually contain sets. I'm tentatively in favor of generating proper
Result nodes in this case, rather than allowing this in ProjectSet - on
the other hand, it works after removing that Assert().
Tom, do you have an opinion?
Greetings,
Andres Freund
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2017-02-01 23:46:11 | Re: Cannot shutdown subscriber after DROP SUBSCRIPTION |
Previous Message | Michael Paquier | 2017-02-01 23:36:11 | Re: Time to up bgwriter_lru_maxpages? |