postgresql/src/backend
Tom Lane f4857082bc Fix planner failure with extended statistics on partitioned tables.
Some cases would result in "cache lookup failed for statistics object",
due to trying to fetch inherited statistics when only non-inherited
ones are available or vice versa.

Richard Guo and Justin Pryzby

Discussion: https://postgr.es/m/20221030170520.GM16921@telsasoft.com
2022-11-01 14:34:44 -04:00
..
access Clean up some inconsistencies with GUC declarations 2022-10-31 12:44:48 +09:00
backup Rename shadowed local variables 2022-10-05 21:01:41 +13:00
bootstrap Remove AssertArg and AssertState 2022-10-28 09:19:06 +02:00
catalog Remove AssertArg and AssertState 2022-10-28 09:19:06 +02:00
commands Fix ALTER COLLATION "default" REFRESH VERSION. 2022-10-31 15:44:52 -07:00
executor Allow nodeSort to perform Datum sorts for byref types 2022-10-28 09:25:12 +13:00
foreign Rename SetSingleFuncCall() to InitMaterializedSRF() 2022-10-18 10:22:35 +09:00
jit Remove AssertArg and AssertState 2022-10-28 09:19:06 +02:00
lib meson: Add initial version of meson based build system 2022-09-21 22:37:17 -07:00
libpq Clean up some inconsistencies with GUC declarations 2022-10-31 12:44:48 +09:00
main meson: Add initial version of meson based build system 2022-09-21 22:37:17 -07:00
nodes Use proper macro to access TransactionId 2022-10-20 09:41:03 +02:00
optimizer Use Limit instead of Unique to implement DISTINCT, when possible 2022-10-28 23:04:38 +13:00
parser Remove AssertArg and AssertState 2022-10-28 09:19:06 +02:00
partitioning Remove unnecessary uses of Abs() 2022-10-07 13:29:33 +02:00
po meson: Add initial version of meson based build system 2022-09-21 22:37:17 -07:00
port meson: Add initial version of meson based build system 2022-09-21 22:37:17 -07:00
postmaster Clean up some inconsistencies with GUC declarations 2022-10-31 12:44:48 +09:00
regex Remove uses of register due to incompatibility with C++17 and up 2022-09-24 12:08:37 -07:00
replication Remove AssertArg and AssertState 2022-10-28 09:19:06 +02:00
rewrite Reject non-ON-SELECT rules that are named "_RETURN". 2022-10-17 12:14:39 -04:00
snowball meson: Add support for building with precompiled headers 2022-10-06 17:19:30 -07:00
statistics Rename shadowed local variables 2022-10-05 21:01:41 +13:00
storage Clean up some inconsistencies with GUC declarations 2022-10-31 12:44:48 +09:00
tcop Remove AssertArg and AssertState 2022-10-28 09:19:06 +02:00
tsearch Introduce t_isalnum() to replace t_isalpha() || t_isdigit() tests. 2022-10-06 11:08:56 -04:00
utils Fix planner failure with extended statistics on partitioned tables. 2022-11-01 14:34:44 -04:00
.gitignore Add .gitignore entries for AIX-specific intermediate build artifacts. 2015-07-08 20:44:22 -04:00
Makefile Move gramparse.h to src/backend/parser 2022-09-14 10:57:13 +07:00
common.mk Blind attempt to fix LLVM dependency in the backend 2022-09-15 10:53:48 +07:00
meson.build meson: Add support for building with precompiled headers 2022-10-06 17:19:30 -07:00
nls.mk NLS: Put list of available languages into LINGUAS files 2022-07-13 08:19:17 +02:00