agora inbox for [email protected]
help / color / mirror / Atom feedRe: [JDBC] Support for JDBC setQueryTimeout, et al.
270+ messages / 4 participants
[nested] [flat]
* Re: [JDBC] Support for JDBC setQueryTimeout, et al.
@ 2010-10-14 17:25 Kevin Grittner <[email protected]>
0 siblings, 2 replies; 270+ messages in thread
From: Kevin Grittner @ 2010-10-14 17:25 UTC (permalink / raw)
To: [email protected]; +Cc: [email protected]; pgsql-hackers; [email protected]; [email protected]
Robert Haas wrote:
Kevin Grittner wrote:
> I thought we had decided on the client-side approach, but maybe
> I'm confused. I don't have a position one way or the other, just
> trying to understand the state of the conversation.
Well, I've been pretty vocal on supporting a client-side solution,
and Rados*aw clearly is in that camp, but that hardly makes a
consensus. David still has his patch out there, and Tom's comments
seemed to imply that he supports a solution involving the
statement_timeout GUC, so the question hardly seems settled.
Regarding JDBC in the CF process -- other interfaces are handled
there. I haven't seen one patch this size for JDBC since I've been
involved, let alone two competing patches to implement the same
feature. Small patches which can be quickly handled don't make sense
to put into the process, but it seemed reasonable for these.
-Kevin
^ permalink raw reply [nested|flat] 270+ messages in thread
* Re: [JDBC] Support for JDBC setQueryTimeout, et al.
@ 2010-10-14 18:40 Radosław Smogura <[email protected]>
parent: Kevin Grittner <[email protected]>
1 sibling, 0 replies; 270+ messages in thread
From: Radosław Smogura @ 2010-10-14 18:40 UTC (permalink / raw)
To: [email protected]; +Cc: Kevin Grittner <[email protected]>; [email protected]; [email protected]; pgsql-hackers
> Regarding JDBC in the CF process -- other interfaces are handled
> there. I haven't seen one patch this size for JDBC since I've been
> involved, let alone two competing patches to implement the same
> feature. Small patches which can be quickly handled don't make sense
> to put into the process, but it seemed reasonable for these.
In any way I'm sending this patch, and I will put this under Miscellaneous in
CF. This cleared patch takes only 47k (in uncleared was some binary read
classes) and about 50% it's big test case.
Have a nice day,
Radek
Attachments:
[application/x-gzip] statemnt_to_20101014.patch.gz (8.9K, ../../[email protected]/2-statemnt_to_20101014.patch.gz)
download
^ permalink raw reply [nested|flat] 270+ messages in thread
* Re: [JDBC] Support for JDBC setQueryTimeout, et al.
@ 2010-10-14 21:57 Tom Lane <[email protected]>
parent: Kevin Grittner <[email protected]>
1 sibling, 0 replies; 270+ messages in thread
From: Tom Lane @ 2010-10-14 21:57 UTC (permalink / raw)
To: Kevin Grittner <[email protected]>; +Cc: [email protected]; [email protected]; pgsql-hackers; [email protected]; [email protected]
"Kevin Grittner" <[email protected]> writes:
> Robert Haas wrote:
>> I thought we had decided on the client-side approach, but maybe
>> I'm confused. I don't have a position one way or the other, just
>> trying to understand the state of the conversation.
> Well, I've been pretty vocal on supporting a client-side solution,
> and Rados*aw clearly is in that camp, but that hardly makes a
> consensus. David still has his patch out there, and Tom's comments
> seemed to imply that he supports a solution involving the
> statement_timeout GUC, so the question hardly seems settled.
No, no, I was trying to point out some reasons why depending on
statement_timeout would be problematic. I'm all for doing this
client-side.
regards, tom lane
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 270+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 270+ messages in thread
end of thread, other threads:[~2025-08-28 17:53 UTC | newest]
Thread overview: 270+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2010-10-14 17:25 Re: [JDBC] Support for JDBC setQueryTimeout, et al. Kevin Grittner <[email protected]>
2010-10-14 18:40 ` Radosław Smogura <[email protected]>
2010-10-14 21:57 ` Tom Lane <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[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