postgresql/src
Tom Lane 5b562644fe Teach ANALYZE to clear pg_class.relhassubclass when appropriate.
In the past, relhassubclass always remained true if a relation had ever had
child relations, even if the last subclass was long gone.  While this had
only marginal performance implications in most cases, it was annoying, and
I'm now considering some planner changes that would raise the cost of a
false positive.  It was previously impractical to fix this because of race
condition concerns.  However, given the recent change that made tablecmds.c
take ShareExclusiveLock on relations that are gaining a child (commit
fbcf4b92aa), we can now allow ANALYZE to
clear the flag when it's no longer relevant.  There is no additional
locking cost to do so, since ANALYZE takes ShareExclusiveLock anyway.
2011-09-02 14:29:31 -04:00
..
backend Teach ANALYZE to clear pg_class.relhassubclass when appropriate. 2011-09-02 14:29:31 -04:00
bin Remove unnecessary #include references, per pgrminclude script. 2011-09-01 10:04:27 -04:00
include Teach ANALYZE to clear pg_class.relhassubclass when appropriate. 2011-09-02 14:29:31 -04:00
interfaces Fix brace indentation of commit 63d06ef591 to fit PostgreSQL style. 2011-09-02 10:03:07 +02:00
makefiles Fix pgxs.mk to always add --dbname=$(CONTRIB_TESTDB) to REGRESS_OPTS. 2011-08-24 15:16:50 -04:00
pl Remove unnecessary #include references, per pgrminclude script. 2011-09-01 10:04:27 -04:00
port Fix MinGW build, broken by my previous patch to add a setlocale() wrapper 2011-09-01 14:02:40 +03:00
template Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
test Minor improvements to mbregress.sh script. 2011-09-01 09:21:10 -04:00
timezone Use consistent format for reporting GetLastError() 2011-08-23 22:00:52 +03:00
tools Improve method of avoiding fcinfo compile errors. 2011-09-01 14:16:13 -04:00
tutorial Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
bcc32.mak Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
DEVELOPERS Replace a couple of references to files that no longer exist in the source 2009-05-04 08:08:47 +00:00
Makefile Fix some oversights in distprep and maintainer-clean targets. 2011-03-10 00:04:05 -05:00
Makefile.global.in Make distprep and *clean build targets recurse into all subdirectories. 2011-07-03 13:55:12 -04:00
Makefile.shlib Use single quotes in preference to double quotes for protecting pathnames. 2011-06-15 21:45:23 -04:00
nls-global.mk Add the possibility to pass --flag arguments to xgettext calls 2011-06-27 00:37:21 +03:00
win32.mak Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00