Re: regression tests fails

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: regression tests fails
Date: 2016-11-21 06:45:25
Message-ID: CAFj8pRA68tAY9in8T=z=jp7uW=AuNrVQff0k6AAYHCymtkWFhA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

2016-11-16 5:54 GMT+01:00 Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>:

> Hi
>
> I have a repeated problem with regress tests
>
> master, Fedora 25,
>
> running on port 50848 with PID 5548
> ============== creating database "regression" ==============
> CREATE DATABASE
> ALTER DATABASE
> ============== running regression test queries ==============
> test ddl ... ok
> test xact ... ok
> test rewrite ... ok
> test toast ... ok
> test permissions ... ok
> test decoding_in_xact ... ok
> test decoding_into_rel ... ok
> test binary ... ok
> test prepared ... ok
> test replorigin ... ok
> test time ... ok
> test messages ... ok
> test spill ... FAILED
> ============== shutting down postmaster ==============
>
> The result is in unstable order.
>

I was wrong - there is ORDER BY clause

SELECT (regexp_split_to_array(data, ':'))[4], COUNT(*),
(array_agg(data))[1], (array_agg(data))[count(*)]
FROM pg_logical_slot_get_changes('regression_slot', NULL,NULL) WHERE data
~ 'INSERT'
GROUP BY 1 ORDER BY 1;

but result is sensitive on locales setting - doesn't work well with czech
locales.

Regards

Pavel

> Regards
>
> Pavel
>

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Munro 2016-11-21 07:05:06 Re: delta relations in AFTER triggers
Previous Message Kyotaro HORIGUCHI 2016-11-21 06:44:08 Re: Fix checkpoint skip logic on idle systems by tracking LSN progress