Re: Regression test failure date. - Mailing list pgsql-hackers
From | Bruce Momjian |
---|---|
Subject | Re: Regression test failure date. |
Date | |
Msg-id | 200307282235.h6SMZZD29970@candle.pha.pa.us Whole thread Raw |
In response to | Re: Regression test failure date. (Tom Lane <tgl@sss.pgh.pa.us>) |
Responses |
Re: Regression test failure date.
(Tom Lane <tgl@sss.pgh.pa.us>)
Re: Regression test failure date. (Tom Lane <tgl@sss.pgh.pa.us>) |
List | pgsql-hackers |
Tom, is the attached regression diff considered normal? This was generated by current CVS. I am trying to determine what is a normal error and what is something to be concerned about. Also, I am up to Feb 25 with no errors, but am still testing. --------------------------------------------------------------------------- Tom Lane wrote: > Bruce Momjian <pgman@candle.pha.pa.us> writes: > > I am now seeing this error in 2003-03-03. > > > CREATE TABLE INSERT_CHILD (cx INT default 42, > > cy INT CHECK (cy > x)) > > INHERITS (INSERT_TBL); > > + ERROR: RelationClearRelation: relation 130996 deleted while still in use > > I have a theory about the failures that occur while creating tables. > If a relcache flush were to occur due to SI buffer overrun between > creation of the new rel's relcache entry by RelationBuildLocalRelation > and completion of the command, then you'd see an error exactly like the > above, because the relcache would try to rebuild the cache entry by > reading the pg_class and pg_attribute rows for the relation. Which > would possibly not exist yet, and even if they did exist they'd be > invisible under SnapshotNow rules. > > However this bug is of long standing, and it doesn't seem all that > probable as an explanation for your difficulties. It would be worth > running the tests with log_min_messages set to DEBUG4 (along with the > verbosity setting, please) and see if you observe "cache state reset" > log entries just before the failures. > > In any case this would not explain failures during DROP TABLE, so > there's another issue to look for. > > regards, tom lane > -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073 *** ./expected/constraints.out Mon Jul 28 13:50:13 2003 --- ./results/constraints.out Mon Jul 28 18:32:55 2003 *************** *** 80,102 **** CREATE TABLE CHECK2_TBL (x int, y text, z int, CONSTRAINT SEQUENCE_CON CHECK (x > 3 and y <> 'check failed' and z < 8)); INSERT INTO CHECK2_TBL VALUES (4, 'check ok', -2); INSERT INTO CHECK2_TBL VALUES (1, 'x check failed', -2); ! ERROR: new row for relation "check2_tbl" violates CHECK constraint "sequence_con" INSERT INTO CHECK2_TBL VALUES (5, 'z check failed', 10); ! ERROR: new row for relation "check2_tbl" violates CHECK constraint "sequence_con" INSERT INTO CHECK2_TBL VALUES (0, 'check failed', -2); ! ERROR: new row for relation "check2_tbl" violates CHECK constraint "sequence_con" INSERT INTO CHECK2_TBL VALUES (6, 'check failed', 11); ! ERROR: new row for relation "check2_tbl" violates CHECK constraint "sequence_con" INSERT INTO CHECK2_TBL VALUES (7, 'check ok', 7); SELECT '' AS two, * from CHECK2_TBL; ! two | x | y | z ! -----+---+----------+---- ! | 4 | check ok | -2 ! | 7 | check ok | 7 ! (2 rows) ! -- -- Check constraints on INSERT -- --- 80,100 ---- CREATE TABLE CHECK2_TBL (x int, y text, z int, CONSTRAINT SEQUENCE_CON CHECK (x > 3 and y <> 'check failed' and z < 8)); + ERROR: relation 126581 deleted while still in use INSERT INTO CHECK2_TBL VALUES (4, 'check ok', -2); + ERROR: relation "check2_tbl" does not exist INSERT INTO CHECK2_TBL VALUES (1, 'x check failed', -2); ! ERROR: relation "check2_tbl" does not exist INSERT INTO CHECK2_TBL VALUES (5, 'z check failed', 10); ! ERROR: relation "check2_tbl" does not exist INSERT INTO CHECK2_TBL VALUES (0, 'check failed', -2); ! ERROR: relation "check2_tbl" does not exist INSERT INTO CHECK2_TBL VALUES (6, 'check failed', 11); ! ERROR: relation "check2_tbl" does not exist INSERT INTO CHECK2_TBL VALUES (7, 'check ok', 7); + ERROR: relation "check2_tbl" does not exist SELECT '' AS two, * from CHECK2_TBL; ! ERROR: relation "check2_tbl" does not exist -- -- Check constraints on INSERT -- ====================================================================== *** ./expected/misc.out Mon Jul 28 13:50:13 2003 --- ./results/misc.out Mon Jul 28 18:33:04 2003 *************** *** 580,586 **** c c_star char_tbl - check2_tbl check_seq check_tbl circle_tbl --- 580,585 ---- *************** *** 660,666 **** toyemp varchar_tbl xacttest ! (96 rows) --SELECT name(equipment(hobby_construct(text 'skywalking', text 'mer'))) AS equip_name; SELECT hobbies_by_name('basketball'); --- 659,665 ---- toyemp varchar_tbl xacttest ! (95 rows) --SELECT name(equipment(hobby_construct(text 'skywalking', text 'mer'))) AS equip_name; SELECT hobbies_by_name('basketball'); ======================================================================
pgsql-hackers by date: