Re: pgsql: Fast ALTER TABLE ADD COLUMN with a non-NULL default

From: Andres Freund <andres(at)anarazel(dot)de>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Andrew Dunstan <andrew(dot)dunstan(at)2ndquadrant(dot)com>, pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: Re: pgsql: Fast ALTER TABLE ADD COLUMN with a non-NULL default
Date: 2018-03-28 04:18:40
Message-ID: 20180328041840.sgies7f3dhancybj@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

On 2018-03-27 23:40:25 -0400, Tom Lane wrote:
> Andres Freund <andres(at)anarazel(dot)de> writes:
> > Note there appear to be some independent failures?
>
> It looks to me like the hard failures from this patch are all on your JIT
> critters.

The one I noticed was:
https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=treepie&dt=2018-03-28%2002%3A43%3A00

*** /var/buildfarm/treepie/build/HEAD/pgsql.build/src/test/regress/expected/fast_default.out Wed Mar 28 03:28:03 2018
--- /var/buildfarm/treepie/build/HEAD/pgsql.build/src/test/regress/results/fast_default.out Wed Mar 28 04:56:44 2018
***************
*** 340,348 ****

-- Aggregate function
SELECT SUM(c_bigint), MAX(c_text), MIN(c_text) FROM T;
! sum | max | min
! -----+-------+-----
! 200 | hello | 31
(1 row)

-- ORDER BY
--- 340,348 ----

-- Aggregate function
SELECT SUM(c_bigint), MAX(c_text), MIN(c_text) FROM T;
! sum | max | min
! -----+-----+-------
! 200 | 40 | hello
(1 row)

-- ORDER BY

which probably is just collation related and will stably fail?

> There are a bunch of random failures from Simon's commit,
> but I think those are just timing, per <31021(dot)1522185986(at)sss(dot)pgh(dot)pa(dot)us>.

There's also a few of that annoying postgres_fdw thing. Some of my
critters hit that regularly :(. We need to figure out what's going on
there.

Greetings,

Andres Freund

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Simon Riggs 2018-03-28 04:22:07 pgsql: Use pg_stat_get_xact* functions within xacts
Previous Message Andres Freund 2018-03-28 04:13:51 Re: pgsql: Fast ALTER TABLE ADD COLUMN with a non-NULL default