Обсуждение: AW: [HACKERS] Core dump in regression tests.

Поиск
Список
Период
Сортировка

AW: [HACKERS] Core dump in regression tests.

От
Andreas Zeugswetter
Дата:
> I can not reproduce on my Linux box.  Assertions show nothing.  This can't be
> good.
> Andreas, are you having any success?

The goodies:
    using %lld for int8 I get
int8 ..  ok
create_function_2 ..  ok
select_having ..  ok

The down side:
create_index ..  failed

Same problem here:
after one create index the pg_class_relname_index is no good any more I get

regression=> CREATE INDEX onek_unique2 ON onek USING btree(unique2 int4_ops);
CREATE
regression=> select * from onek;
ERROR:  RelationCatalogInformation: Relation 19284 not found
regression=> \q
postgres@zeus:/usr/postgres/src/test/regress> psql regression
regression=> select * from onek;
ERROR:  onek: Table does not exist.
regression=>

one problem with #ifdef 0, please use #ifdef NOT_USED in
src/backend/utils/misc/database.c

Andreas



Re: AW: [HACKERS] Core dump in regression tests.

От
David Hartwig
Дата:

Andreas Zeugswetter wrote:

> regression=> CREATE INDEX onek_unique2 ON onek USING btree(unique2 int4_ops);
> CREATE
> regression=> select * from onek;
> ERROR:  RelationCatalogInformation: Relation 19284 not found
> regression=> \q
> postgres@zeus:/usr/postgres/src/test/regress> psql regression
> regression=> select * from onek;
> ERROR:  onek: Table does not exist.
>

That's  the one.   See my earlier posting about the state of the pg_class tuple.



Re: AW: [HACKERS] Core dump in regression tests.

От
Bruce Momjian
Дата:
>
> one problem with #ifdef 0, please use #ifdef NOT_USED in
> src/backend/utils/misc/database.c
>
> Andreas
>
Fixed.



--
Bruce Momjian                          |  830 Blythe Avenue
maillist@candle.pha.pa.us              |  Drexel Hill, Pennsylvania 19026
  +  If your life is a hard drive,     |  (610) 353-9879(w)
  +  Christ can be your backup.        |  (610) 853-3000(h)