postgresql/src/test
Tom Lane 7d05310828 Fix problem reported by Alex Korn: if a relation has been dropped and
recreated since the start of our transaction, our first reference to it
errored out because we'd try to reuse our old relcache entry for it.
Do this by accepting SI inval messages just before relcache search in
heap_openr, so that dead relcache entries will be flushed before we
search.  Also, break heap_open/openr into two pairs of routines,
relation_open(r) and heap_open(r).  The relation_open routines make
no tests on relkind and so can be used to open anything that has a
pg_class entry.  The heap_open routines are wrappers that add a relkind
test to preserve their established behavior.  Use the relation_open
routines in several places that had various kluge solutions for opening
rels that might be either heap or index rels.

Also, remove the old 'heap stats' code that's been superseded by Jan's
stats collector, and clean up some inconsistencies in error reporting
between the different types of ALTER TABLE.
2001-11-02 16:30:29 +00:00
..
bench Make sure -L and -I's for our source tree are always before system include 2001-02-20 19:20:30 +00:00
examples pgindent run on all C files. Java run to follow. initdb/regression 2001-10-25 05:50:21 +00:00
locale pgindent run on all C files. Java run to follow. initdb/regression 2001-10-25 05:50:21 +00:00
mb Commit Patrice's patches except: 2001-10-15 01:25:10 +00:00
performance /usr/local/bin/perl => /usr/bin/perl 2001-09-04 11:41:04 +00:00
regress Fix problem reported by Alex Korn: if a relation has been dropped and 2001-11-02 16:30:29 +00:00
Makefile New unified regression test driver, test/regress makefile cleanup, 2000-09-29 17:17:41 +00:00