From: Robert Creager <Robert_Creager@LogicalChaos.org>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Subject: Re: parallel regression test failure
Date: Fri, 25 Jul 2003 21:36:13 -0600
Message-ID: <20030725213613.6ab114ef.Robert_Creager@LogicalChaos.org> (raw)
In-Reply-To: <12681.1059177424@sss.pgh.pa.us>
References: <200307252147.h6PLloW12464@candle.pha.pa.us>
<12681.1059177424@sss.pgh.pa.us>
On Fri, 25 Jul 2003 19:57:04 -0400
Tom Lane <tgl@sss.pgh.pa.us> said something like:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > I am seeing the following parallel regression test failures. Any
> > idea on the cause?
>
> I don't see it here, on either of two different architectures. Maybe
> you need a make distclean and rebuild?
>
And another failure:
inline patch 1: ./results/constraints.out (+0/-5 lines) download inline-1.patch*** ./expected/constraints.out Fri Jul 25 21:14:51 2003
--- ./results/constraints.out Fri Jul 25 21:34:09 2003
***************
*** 212,244 ****
DROP SEQUENCE INSERT_SEQ;
CREATE SEQUENCE INSERT_SEQ START 4;
CREATE TABLE tmp (xd INT, yd TEXT, zd INT);
INSERT INTO tmp VALUES (null, 'Y', null);
INSERT INTO tmp VALUES (5, '!check failed', null);
INSERT INTO tmp VALUES (null, 'try again', null);
INSERT INTO INSERT_TBL(y) select yd from tmp;
SELECT '' AS three, * FROM INSERT_TBL;
three | x | y | z
! -------+---+---------------+----
! | 4 | Y | -4
! | 5 | !check failed | -5
! | 6 | try again | -6
! (3 rows)
INSERT INTO INSERT_TBL SELECT * FROM tmp WHERE yd = 'try again';
INSERT INTO INSERT_TBL(y,z) SELECT yd, -7 FROM tmp WHERE yd = 'try
again'; INSERT INTO INSERT_TBL(y,z) SELECT yd, -8 FROM tmp WHERE yd =
'try again';! ERROR: new row for relation "insert_tbl" violates CHECK
constraint "insert_con" SELECT '' AS four, * FROM INSERT_TBL;
four | x | y | z
! ------+---+---------------+----
! | 4 | Y | -4
! | 5 | !check failed | -5
! | 6 | try again | -6
! | | try again |
! | 7 | try again | -7
! (5 rows)
DROP TABLE tmp;
--
-- Check constraints on UPDATE
--
--- 212,244 ----
DROP SEQUENCE INSERT_SEQ;
CREATE SEQUENCE INSERT_SEQ START 4;
CREATE TABLE tmp (xd INT, yd TEXT, zd INT);
+ ERROR: relation 126260 deleted while still in use
INSERT INTO tmp VALUES (null, 'Y', null);
+ ERROR: relation "tmp" does not exist
INSERT INTO tmp VALUES (5, '!check failed', null);
+ ERROR: relation "tmp" does not exist
INSERT INTO tmp VALUES (null, 'try again', null);
+ ERROR: relation "tmp" does not exist
INSERT INTO INSERT_TBL(y) select yd from tmp;
+ ERROR: relation "tmp" does not exist
SELECT '' AS three, * FROM INSERT_TBL;
three | x | y | z
! -------+---+---+---
! (0 rows)
INSERT INTO INSERT_TBL SELECT * FROM tmp WHERE yd = 'try again';
+ ERROR: relation "tmp" does not exist
INSERT INTO INSERT_TBL(y,z) SELECT yd, -7 FROM tmp WHERE yd = 'try
again';+ ERROR: relation "tmp" does not exist
INSERT INTO INSERT_TBL(y,z) SELECT yd, -8 FROM tmp WHERE yd = 'try
again';! ERROR: relation "tmp" does not exist
SELECT '' AS four, * FROM INSERT_TBL;
four | x | y | z
! ------+---+---+---
! (0 rows)
DROP TABLE tmp;
+ ERROR: table "tmp" does not exist
--
-- Check constraints on UPDATE
--
***************
*** 246,261 ****
UPDATE INSERT_TBL SET x = 6 WHERE x = 6;
UPDATE INSERT_TBL SET x = -z, z = -x;
UPDATE INSERT_TBL SET x = z, z = x;
- ERROR: new row for relation "insert_tbl" violates CHECK constraint
"insert_con" SELECT * FROM INSERT_TBL;
x | y | z
! ---+---------------+----
! 4 | Y | -4
! | try again |
! 7 | try again | -7
! 5 | !check failed |
! 6 | try again | -6
! (5 rows)
-- DROP TABLE INSERT_TBL;
--
--- 246,255 ----
UPDATE INSERT_TBL SET x = 6 WHERE x = 6;
UPDATE INSERT_TBL SET x = -z, z = -x;
UPDATE INSERT_TBL SET x = z, z = x;
SELECT * FROM INSERT_TBL;
x | y | z
! ---+---+---
! (0 rows)
-- DROP TABLE INSERT_TBL;
--
======================================================================
--
21:34:48 up 8 days, 1:35, 2 users, load average: 0.89, 0.65, 0.85
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: Robert_Creager@LogicalChaos.org, tgl@sss.pgh.pa.us, pgman@candle.pha.pa.us, pgsql-hackers@postgresql.org
Subject: Re: parallel regression test failure
In-Reply-To: <20030725213613.6ab114ef.Robert_Creager@LogicalChaos.org>
References: <200307252147.h6PLloW12464@candle.pha.pa.us> <12681.1059177424@sss.pgh.pa.us> <20030725213613.6ab114ef.Robert_Creager@LogicalChaos.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox