agora inbox for [email protected]help / color / mirror / Atom feed
[PATCH] CREATE STATISTICS: Fix error message 268+ messages / 2 participants [nested] [flat]
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message @ 2025-08-28 17:53 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw) --- src/backend/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 25fe3d58016..7f5076d2c1a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate, if (!IsA(rel, RangeVar)) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("only a single relation is allowed in CREATE STATISTICS"))); + errmsg("cannot create statistics on specified relation"), + errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables."))); /* * CREATE STATISTICS will influence future execution plans -- 2.39.5 --pbl4mx6qlbtkw6pf-- ^ permalink raw reply [nested|flat] 268+ messages in thread
* [PATCH v8.1 1/6] Handle pg_get_ruledef default args in system_functions.sql @ 2025-12-08 23:41 Mark Wong <[email protected]> 0 siblings, 0 replies; 268+ messages in thread From: Mark Wong @ 2025-12-08 23:41 UTC (permalink / raw) Modernize pg_get_ruledef to use proargdefaults for optional pretty argument. --- src/backend/utils/adt/ruleutils.c | 18 ------------------ src/include/catalog/pg_proc.dat | 8 +++----- 2 files changed, 3 insertions(+), 23 deletions(-) diff --git a/src/backend/utils/adt/ruleutils.c b/src/backend/utils/adt/ruleutils.c index 88de5c0481c..76705db3dac 100644 --- a/src/backend/utils/adt/ruleutils.c +++ b/src/backend/utils/adt/ruleutils.c @@ -569,24 +569,6 @@ static void get_json_table_nested_columns(TableFunc *tf, JsonTablePlan *plan, */ Datum pg_get_ruledef(PG_FUNCTION_ARGS) -{ - Oid ruleoid = PG_GETARG_OID(0); - int prettyFlags; - char *res; - - prettyFlags = PRETTYFLAG_INDENT; - - res = pg_get_ruledef_worker(ruleoid, prettyFlags); - - if (res == NULL) - PG_RETURN_NULL(); - - PG_RETURN_TEXT_P(string_to_text(res)); -} - - -Datum -pg_get_ruledef_ext(PG_FUNCTION_ARGS) { Oid ruleoid = PG_GETARG_OID(0); bool pretty = PG_GETARG_BOOL(1); diff --git a/src/include/catalog/pg_proc.dat b/src/include/catalog/pg_proc.dat index be157a5fbe9..49e92204bd6 100644 --- a/src/include/catalog/pg_proc.dat +++ b/src/include/catalog/pg_proc.dat @@ -3981,9 +3981,6 @@ { oid => '6469', descr => 'source text of a property graph', proname => 'pg_get_propgraphdef', provolatile => 's', prorettype => 'text', proargtypes => 'oid', prosrc => 'pg_get_propgraphdef' }, -{ oid => '1573', descr => 'source text of a rule', - proname => 'pg_get_ruledef', provolatile => 's', prorettype => 'text', - proargtypes => 'oid', prosrc => 'pg_get_ruledef' }, { oid => '1640', descr => 'select statement of a view', proname => 'pg_get_viewdef', provolatile => 's', proparallel => 'r', prorettype => 'text', proargtypes => 'text', @@ -8565,9 +8562,10 @@ prosrc => 'macaddr8_send' }, # System-view support functions with pretty-print option -{ oid => '2504', descr => 'source text of a rule with pretty-print option', +{ oid => '2504', descr => 'source text of a rule', proname => 'pg_get_ruledef', provolatile => 's', prorettype => 'text', - proargtypes => 'oid bool', prosrc => 'pg_get_ruledef_ext' }, + proargtypes => 'oid bool', proargnames => '{rule,pretty}', + proargdefaults => '{false}', prosrc => 'pg_get_ruledef' }, { oid => '2505', descr => 'select statement of a view with pretty-print option', proname => 'pg_get_viewdef', provolatile => 's', proparallel => 'r', -- 2.53.0 --AcCatzXgbvyipyEy Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=v8.1-0002-Handle-pg_get_viewdef-default-args-in-system_fu.patch ^ permalink raw reply [nested|flat] 268+ messages in thread
end of thread, other threads:[~2025-12-08 23:41 UTC | newest] Thread overview: 268+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]> 2025-12-08 23:41 [PATCH v8.1 1/6] Handle pg_get_ruledef default args in system_functions.sql Mark Wong <[email protected]>
This inbox is served by agora; see mirroring instructions for how to clone and mirror all data and code used for this inbox