agora inbox for [email protected]
help / color / mirror / Atom feedPhotos of PostgreSQL booth
281+ messages / 9 participants
[nested] [flat]
* Photos of PostgreSQL booth
@ 2003-12-25 22:15 Christian Kienle <[email protected]>
2003-12-25 22:25 ` Re: Photos of PostgreSQL booth Marc G. Fournier <[email protected]>
2003-12-28 14:29 ` Re: Photos of PostgreSQL booth Peter Eisentraut <[email protected]>
0 siblings, 2 replies; 281+ messages in thread
From: Christian Kienle @ 2003-12-25 22:15 UTC (permalink / raw)
To: [email protected]
Hello...
well perhaps it is very OT...
Here are two pictures of the PostgreSQL booth on the Linux World Expo &
Conference in Frankfurt 2003.
I took the photos and had a talk to the two Postgre guys ;D
They were really friendly.
http://www.qtforum.org/test/IMG_1583.JPG
http://www.qtforum.org/test/IMG_1584.JPG
Have fun.
Christian
--
Linux is like a wigwam - no gates, no windows and an apache inside.
^ permalink raw reply [nested|flat] 281+ messages in thread
* Re: Photos of PostgreSQL booth
2003-12-25 22:15 Photos of PostgreSQL booth Christian Kienle <[email protected]>
@ 2003-12-25 22:25 ` Marc G. Fournier <[email protected]>
2003-12-26 18:00 ` Re: Photos of PostgreSQL booth Michael Meskes <[email protected]>
1 sibling, 1 reply; 281+ messages in thread
From: Marc G. Fournier @ 2003-12-25 22:25 UTC (permalink / raw)
To: Christian Kienle <[email protected]>; +Cc: [email protected]
whose manning the booth?
On Thu, 25 Dec 2003, Christian Kienle wrote:
> Hello...
>
> well perhaps it is very OT...
> Here are two pictures of the PostgreSQL booth on the Linux World Expo &
> Conference in Frankfurt 2003.
>
> I took the photos and had a talk to the two Postgre guys ;D
> They were really friendly.
>
> http://www.qtforum.org/test/IMG_1583.JPG
> http://www.qtforum.org/test/IMG_1584.JPG
>
> Have fun.
>
> Christian
>
> --
> Linux is like a wigwam - no gates, no windows and an apache inside.
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 9: the planner will ignore your desire to choose an index scan if your
> joining column's datatypes do not match
>
----
Marc G. Fournier Hub.Org Networking Services (http://www.hub.org)
Email: [email protected] Yahoo!: yscrappy ICQ: 7615664
^ permalink raw reply [nested|flat] 281+ messages in thread
* Re: Photos of PostgreSQL booth
2003-12-25 22:15 Photos of PostgreSQL booth Christian Kienle <[email protected]>
2003-12-25 22:25 ` Re: Photos of PostgreSQL booth Marc G. Fournier <[email protected]>
@ 2003-12-26 18:00 ` Michael Meskes <[email protected]>
2003-12-26 18:04 ` Re: Photos of PostgreSQL booth Marc G. Fournier <[email protected]>
0 siblings, 1 reply; 281+ messages in thread
From: Michael Meskes @ 2003-12-26 18:00 UTC (permalink / raw)
To: Marc G. Fournier <[email protected]>; +Cc: Christian Kienle <[email protected]>; [email protected]
On Thu, Dec 25, 2003 at 06:25:34PM -0400, Marc G. Fournier wrote:
> whose manning the booth?
The one one the photos is Noel Koethe. He manned the booth together with
Peter Eisentraut and me.
Michael
--
Michael Meskes
Email: Michael at Fam-Meskes dot De
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: [email protected]
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!
^ permalink raw reply [nested|flat] 281+ messages in thread
* Re: Photos of PostgreSQL booth
2003-12-25 22:15 Photos of PostgreSQL booth Christian Kienle <[email protected]>
2003-12-25 22:25 ` Re: Photos of PostgreSQL booth Marc G. Fournier <[email protected]>
2003-12-26 18:00 ` Re: Photos of PostgreSQL booth Michael Meskes <[email protected]>
@ 2003-12-26 18:04 ` Marc G. Fournier <[email protected]>
2003-12-26 18:17 ` Re: Photos of PostgreSQL booth Michael Meskes <[email protected]>
0 siblings, 1 reply; 281+ messages in thread
From: Marc G. Fournier @ 2003-12-26 18:04 UTC (permalink / raw)
To: Michael Meskes <[email protected]>; +Cc: Marc G. Fournier <[email protected]>; Christian Kienle <[email protected]>; [email protected]
On Fri, 26 Dec 2003, Michael Meskes wrote:
> On Thu, Dec 25, 2003 at 06:25:34PM -0400, Marc G. Fournier wrote:
> > whose manning the booth?
>
> The one one the photos is Noel Koethe. He manned the booth together with
> Peter Eisentraut and me.
One thought for future booths would be to have a "group photo" done that
we can add to the web site ... ? :)
----
Marc G. Fournier Hub.Org Networking Services (http://www.hub.org)
Email: [email protected] Yahoo!: yscrappy ICQ: 7615664
^ permalink raw reply [nested|flat] 281+ messages in thread
* Re: Photos of PostgreSQL booth
2003-12-25 22:15 Photos of PostgreSQL booth Christian Kienle <[email protected]>
2003-12-25 22:25 ` Re: Photos of PostgreSQL booth Marc G. Fournier <[email protected]>
2003-12-26 18:00 ` Re: Photos of PostgreSQL booth Michael Meskes <[email protected]>
2003-12-26 18:04 ` Re: Photos of PostgreSQL booth Marc G. Fournier <[email protected]>
@ 2003-12-26 18:17 ` Michael Meskes <[email protected]>
2003-12-26 19:54 ` fulltext searching via a custom index type Eric Ridge <[email protected]>
0 siblings, 1 reply; 281+ messages in thread
From: Michael Meskes @ 2003-12-26 18:17 UTC (permalink / raw)
To: Marc G. Fournier <[email protected]>; +Cc: Michael Meskes <[email protected]>; Christian Kienle <[email protected]>; [email protected]
On Fri, Dec 26, 2003 at 02:04:09PM -0400, Marc G. Fournier wrote:
> One thought for future booths would be to have a "group photo" done that
> we can add to the web site ... ? :)
Yes, good idea. :-)
Michael
--
Michael Meskes
Email: Michael at Fam-Meskes dot De
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: [email protected]
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!
^ permalink raw reply [nested|flat] 281+ messages in thread
* fulltext searching via a custom index type
2003-12-25 22:15 Photos of PostgreSQL booth Christian Kienle <[email protected]>
2003-12-25 22:25 ` Re: Photos of PostgreSQL booth Marc G. Fournier <[email protected]>
2003-12-26 18:00 ` Re: Photos of PostgreSQL booth Michael Meskes <[email protected]>
2003-12-26 18:04 ` Re: Photos of PostgreSQL booth Marc G. Fournier <[email protected]>
2003-12-26 18:17 ` Re: Photos of PostgreSQL booth Michael Meskes <[email protected]>
@ 2003-12-26 19:54 ` Eric Ridge <[email protected]>
2003-12-26 20:22 ` Re: fulltext searching via a custom index type Tom Lane <[email protected]>
0 siblings, 1 reply; 281+ messages in thread
From: Eric Ridge @ 2003-12-26 19:54 UTC (permalink / raw)
To: pgsql-hackers
(I started with this addressed to the -general list, but it just
doesn't seem like a general usage topic. If -hackers is the wrong
place, please point me in the right direction).
I've been working on a custom index type (access method) that allows
postgres to do fulltext searching (including phrase and proximity) that
I believe is more flexible and natural than "tsearch2" (no offense to
the tsearch2 guys... it's been a source of inspiration). I also plan
on providing "term browsing" and hit-position information.
I'm using Xapian (www.xapian.org) as the backend fulltext engine, and
I'm trying to learn more of the innards of postgres as I go. I've only
spent about 18-24 hours on this, so it's nowhere near complete, and I
really hesitate to even mention it in a public forum. But if in the
end it doesn't suck it might make a great contrib/ package. *shrug*
who knows?
In a nutshell, I've implemented all the necessary access method
functions to teach postgres about a new index type named "xapian", and
so far, everything is really great. It works just like any other index
type would:
create table test (stuff varchar(255), more_stuff text);
create index idxstuff on test using xapian (stuff);
create index idxmore_stuff on test using xapian (more_stuff);
insert into test (stuff, more_stuff) values ('this is stuff', 'this is
more stuff');
insert into test (stuff, more_stuff) values ('my name is eric ridge',
'i like to drink beer');
select * from test where stuff => 'stuff' or more_stuff => '"drink
beer"';
stuff | more_stuff
-----------------------+----------------------
this is stuff | this is more stuff
my name is eric ridge | i like to drink beer
(2 rows)
All this aside, I've got some questions related to indexes and query
plans.
1) Is it possible for an access method to receive some kind of "DROP
INDEX" notification? As far as I can tell, the answer is "no", but it
can't hurt to ask.
2) When does the query planner decide that it needs to "Filter"
results, and is there any way to turn this off or otherwise fool the
query planner into NOT doing Filters (even if only for certain
operators)?
For example, this query:
select * from test where stuff => 'stuff' AND NOT more_stuff =>
'"drink beer"';
has this plan:
Index Scan using idxstuff on test (cost=0.00..-0.98 rows=250
width=177)
Index Cond: ((stuff)::text => 'stuff'::text)
Filter: (NOT (more_stuff => '"drink beer"'::text))
In this case, postgres is forced to re-parse the contents of the
"more_stuff" field (via the defined procedure for the => operator) for
every row returned by the previous index scan, just so it can determine
if the field contains the phrase 'drink beer' or not. Since so much
overhead is involved here, it would be cool if postgres could somehow
do another index scan.
Maybe there's some way for the operator function to know not only the
Datum value, but the actual field (and ItemPointer)?
3) How does one get the $PGDATA directory? getenv() doesn't seem ideal
since PGDATA can be specified as a command-line argument.
4) Can a function be registered as part of a transaction, pre-commit --
so the function can have an opportunity to abort the transaction. I've
seen RegisterEOXactCallback, but it's not quite what I'm looking for.
5) are there discussions in the archives of this list (or other pgsql-
lists) that discuss fulltext searching that y'all think are worth
reading?
thanks in advance for your time and input!
eric
^ permalink raw reply [nested|flat] 281+ messages in thread
* Re: fulltext searching via a custom index type
2003-12-25 22:15 Photos of PostgreSQL booth Christian Kienle <[email protected]>
2003-12-25 22:25 ` Re: Photos of PostgreSQL booth Marc G. Fournier <[email protected]>
2003-12-26 18:00 ` Re: Photos of PostgreSQL booth Michael Meskes <[email protected]>
2003-12-26 18:04 ` Re: Photos of PostgreSQL booth Marc G. Fournier <[email protected]>
2003-12-26 18:17 ` Re: Photos of PostgreSQL booth Michael Meskes <[email protected]>
2003-12-26 19:54 ` fulltext searching via a custom index type Eric Ridge <[email protected]>
@ 2003-12-26 20:22 ` Tom Lane <[email protected]>
2003-12-26 20:53 ` Re: fulltext searching via a custom index type Eric Ridge <[email protected]>
0 siblings, 1 reply; 281+ messages in thread
From: Tom Lane @ 2003-12-26 20:22 UTC (permalink / raw)
To: Eric Ridge <[email protected]>; +Cc: pgsql-hackers
Eric Ridge <[email protected]> writes:
> 1) Is it possible for an access method to receive some kind of "DROP
> INDEX" notification?
No.
> select * from test where stuff => 'stuff' AND NOT more_stuff =>
> '"drink beer"';
> has this plan:
To do better here, you'd need to invent a "not-=>' operator, so that the
above could be simplified to, say,
select * from test where stuff => 'stuff' AND more_stuff ~=> '"drink beer"';
and then define both => and ~=> as members of your index opclass, and
then build a two-column index on (stuff, more_stuff) ... whereupon
the planner would pass your index AM both clauses and it would be up
to you to do something intelligent. You might want to back off a little
on how much of this you really want to do in a first cut.
> 3) How does one get the $PGDATA directory?
DataDir. Why should you care? An index AM that wants to know this is
probably broken IMHO; it's certainly trying to do something that's
outside the charter of index AMs, and is likely to cause lots of
headaches.
> 4) Can a function be registered as part of a transaction, pre-commit --
> so the function can have an opportunity to abort the transaction.
Why would that be a good idea? When exactly would you expect it to be
called (relative to the other ninety-nine things that happen at commit)?
How are you going to recover if something else aborts the transaction,
either before or after your function runs?
I get the impression from your questions that you are trying to make an
end run around the transaction mechanism. This is almost certainly
doomed to failure. You need to find a way of storing all your data
within the ordinary index structure.
regards, tom lane
^ permalink raw reply [nested|flat] 281+ messages in thread
* Re: fulltext searching via a custom index type
2003-12-25 22:15 Photos of PostgreSQL booth Christian Kienle <[email protected]>
2003-12-25 22:25 ` Re: Photos of PostgreSQL booth Marc G. Fournier <[email protected]>
2003-12-26 18:00 ` Re: Photos of PostgreSQL booth Michael Meskes <[email protected]>
2003-12-26 18:04 ` Re: Photos of PostgreSQL booth Marc G. Fournier <[email protected]>
2003-12-26 18:17 ` Re: Photos of PostgreSQL booth Michael Meskes <[email protected]>
2003-12-26 19:54 ` fulltext searching via a custom index type Eric Ridge <[email protected]>
2003-12-26 20:22 ` Re: fulltext searching via a custom index type Tom Lane <[email protected]>
@ 2003-12-26 20:53 ` Eric Ridge <[email protected]>
2003-12-26 21:04 ` Re: fulltext searching via a custom index type Tom Lane <[email protected]>
0 siblings, 1 reply; 281+ messages in thread
From: Eric Ridge @ 2003-12-26 20:53 UTC (permalink / raw)
To: Tom Lane <[email protected]>; +Cc: pgsql-hackers
On Dec 26, 2003, at 3:22 PM, Tom Lane wrote:
>> 3) How does one get the $PGDATA directory?
>
> DataDir. Why should you care? An index AM that wants to know this is
> probably broken IMHO; it's certainly trying to do something that's
> outside the charter of index AMs, and is likely to cause lots of
> headaches.
Xapian has it's own storage subsystem, and that's what I'm using to
store the index... not using anything internal to postgres (although
this could change). As such, Xapian needs to know *where* to save its
indexes... $PGDATA seemed like a good place to start.
>> 4) Can a function be registered as part of a transaction, pre-commit
>> --
>> so the function can have an opportunity to abort the transaction.
>
> Why would that be a good idea? When exactly would you expect it to be
> called (relative to the other ninety-nine things that happen at
> commit)?
> How are you going to recover if something else aborts the transaction,
> either before or after your function runs?
I don't really have an answer to this. :)
> I get the impression from your questions that you are trying to make an
> end run around the transaction mechanism.
Perhaps. I'm actually fishing for ideas to bridge xapian's transaction
facilities to postgres. Your comment confirms my suspicions that it
just ain't gunna work out.
> This is almost certainly doomed to failure. You need to find a way of
> storing all your data
> within the ordinary index structure.
You are probably right. :) I'm just playing around right now. I do
appreciate your response, it's given me a lot to think about.
eric
^ permalink raw reply [nested|flat] 281+ messages in thread
* Re: fulltext searching via a custom index type
2003-12-25 22:15 Photos of PostgreSQL booth Christian Kienle <[email protected]>
2003-12-25 22:25 ` Re: Photos of PostgreSQL booth Marc G. Fournier <[email protected]>
2003-12-26 18:00 ` Re: Photos of PostgreSQL booth Michael Meskes <[email protected]>
2003-12-26 18:04 ` Re: Photos of PostgreSQL booth Marc G. Fournier <[email protected]>
2003-12-26 18:17 ` Re: Photos of PostgreSQL booth Michael Meskes <[email protected]>
2003-12-26 19:54 ` fulltext searching via a custom index type Eric Ridge <[email protected]>
2003-12-26 20:22 ` Re: fulltext searching via a custom index type Tom Lane <[email protected]>
2003-12-26 20:53 ` Re: fulltext searching via a custom index type Eric Ridge <[email protected]>
@ 2003-12-26 21:04 ` Tom Lane <[email protected]>
2003-12-26 21:38 ` Re: fulltext searching via a custom index type Eric Ridge <[email protected]>
0 siblings, 1 reply; 281+ messages in thread
From: Tom Lane @ 2003-12-26 21:04 UTC (permalink / raw)
To: Eric Ridge <[email protected]>; +Cc: pgsql-hackers
Eric Ridge <[email protected]> writes:
> Xapian has it's own storage subsystem, and that's what I'm using to
> store the index... not using anything internal to postgres (although
> this could change).
I would say you have absolutely zero chance of making it work that way.
You will not be able to get it to interoperate reliably with
transactions, checkpointing, or WAL replay; to say nothing of features
we might add in the future, such as tablespaces and point-in-time recovery.
You need to migrate all the data into the Postgres storage mechanism.
It might be worth pointing out here than an index AM is not bound to use
exactly the typical Postgres page layout. I think you probably do have
to use the standard page header, but the page contents don't have to
look like tuples if you don't want 'em to. For precedent see the hash
index AM, which stores ordinary index tuples on some index pages but
uses other pages for its own purposes.
regards, tom lane
^ permalink raw reply [nested|flat] 281+ messages in thread
* Re: fulltext searching via a custom index type
2003-12-25 22:15 Photos of PostgreSQL booth Christian Kienle <[email protected]>
2003-12-25 22:25 ` Re: Photos of PostgreSQL booth Marc G. Fournier <[email protected]>
2003-12-26 18:00 ` Re: Photos of PostgreSQL booth Michael Meskes <[email protected]>
2003-12-26 18:04 ` Re: Photos of PostgreSQL booth Marc G. Fournier <[email protected]>
2003-12-26 18:17 ` Re: Photos of PostgreSQL booth Michael Meskes <[email protected]>
2003-12-26 19:54 ` fulltext searching via a custom index type Eric Ridge <[email protected]>
2003-12-26 20:22 ` Re: fulltext searching via a custom index type Tom Lane <[email protected]>
2003-12-26 20:53 ` Re: fulltext searching via a custom index type Eric Ridge <[email protected]>
2003-12-26 21:04 ` Re: fulltext searching via a custom index type Tom Lane <[email protected]>
@ 2003-12-26 21:38 ` Eric Ridge <[email protected]>
2003-12-26 22:10 ` Re: fulltext searching via a custom index type Tom Lane <[email protected]>
0 siblings, 1 reply; 281+ messages in thread
From: Eric Ridge @ 2003-12-26 21:38 UTC (permalink / raw)
To: Tom Lane <[email protected]>; +Cc: pgsql-hackers
On Dec 26, 2003, at 4:04 PM, Tom Lane wrote:
> Eric Ridge <[email protected]> writes:
>> Xapian has it's own storage subsystem, and that's what I'm using to
>> store the index... not using anything internal to postgres (although
>> this could change).
>
> I would say you have absolutely zero chance of making it work that way.
thanks for the encouragement! :)
> You will not be able to get it to interoperate reliably with
> transactions, checkpointing, or WAL replay; to say nothing of features
> we might add in the future, such as tablespaces and point-in-time
> recovery.
> You need to migrate all the data into the Postgres storage mechanism.
And these are the things I'm struggling with now. The basic indexing
and searching currently works flawlessly, but the moment another user
connects up, everything goes to hell.
> It might be worth pointing out here than an index AM is not bound to
> use
> exactly the typical Postgres page layout. I think you probably do have
> to use the standard page header, but the page contents don't have to
> look like tuples if you don't want 'em to. For precedent see the hash
> index AM, which stores ordinary index tuples on some index pages but
> uses other pages for its own purposes.
That's useful information. Thanks. I've been using the hash AM as my
guide b/c it's not as complex as the other index types (atleast on the
public interface side). Obviously, I'm trying to save the time and
energy of re-inventing the wheel when it comes full text indexing and
searching. Xapian is an awesome standalone engine (and it's amazingly
fast too!), so it seemed like a good place to start. It's backend
storage subsystem is pluggable, and after our little exchange here
today, I'm now considering writing a postgres backend for Xapian.
I assume the doc chapter on Page Files and the various storage-related
README files are good places for more information. Any other tips or
pointers?
eric
^ permalink raw reply [nested|flat] 281+ messages in thread
* Re: fulltext searching via a custom index type
2003-12-25 22:15 Photos of PostgreSQL booth Christian Kienle <[email protected]>
2003-12-25 22:25 ` Re: Photos of PostgreSQL booth Marc G. Fournier <[email protected]>
2003-12-26 18:00 ` Re: Photos of PostgreSQL booth Michael Meskes <[email protected]>
2003-12-26 18:04 ` Re: Photos of PostgreSQL booth Marc G. Fournier <[email protected]>
2003-12-26 18:17 ` Re: Photos of PostgreSQL booth Michael Meskes <[email protected]>
2003-12-26 19:54 ` fulltext searching via a custom index type Eric Ridge <[email protected]>
2003-12-26 20:22 ` Re: fulltext searching via a custom index type Tom Lane <[email protected]>
2003-12-26 20:53 ` Re: fulltext searching via a custom index type Eric Ridge <[email protected]>
2003-12-26 21:04 ` Re: fulltext searching via a custom index type Tom Lane <[email protected]>
2003-12-26 21:38 ` Re: fulltext searching via a custom index type Eric Ridge <[email protected]>
@ 2003-12-26 22:10 ` Tom Lane <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Tom Lane @ 2003-12-26 22:10 UTC (permalink / raw)
To: Eric Ridge <[email protected]>; +Cc: pgsql-hackers
Eric Ridge <[email protected]> writes:
> I assume the doc chapter on Page Files and the various storage-related
> README files are good places for more information. Any other tips or
> pointers?
Not right offhand, but feel free to ask questions when you get stuck.
Also don't forget that there's a wealth of info in source code comments;
you should always try looking for existing code that does something
similar to what you want to do.
BTW, one problem with using the hash AM as a model is that it's not yet
WAL-aware. The btree AM is the only one that's really WAL-ified yet,
so you need to look at that if you want to think now about how to make
your code safe for WAL. I think you'd probably be okay to postpone this
consideration for later, but keep in mind that all your operations that
change the contents of index files should be divisible into bite-size
operations that can be logged as WAL entries. Each "bite-size
operation" has to leave the index in a legal state, too, so there's a
limit as to how small you can subdivide.
regards, tom lane
^ permalink raw reply [nested|flat] 281+ messages in thread
* Re: Photos of PostgreSQL booth
2003-12-25 22:15 Photos of PostgreSQL booth Christian Kienle <[email protected]>
@ 2003-12-28 14:29 ` Peter Eisentraut <[email protected]>
2003-12-28 21:05 ` Re: Photos of PostgreSQL booth Gaetano Mendola <[email protected]>
1 sibling, 1 reply; 281+ messages in thread
From: Peter Eisentraut @ 2003-12-28 14:29 UTC (permalink / raw)
To: [email protected]; +Cc: [email protected]
Christian Kienle writes:
> Here are two pictures of the PostgreSQL booth on the Linux World Expo &
> Conference in Frankfurt 2003.
There are more photos here:
http://developer.postgresql.org/~petere/past-events/lwe2003-pictures/
^ permalink raw reply [nested|flat] 281+ messages in thread
* Re: Photos of PostgreSQL booth
2003-12-25 22:15 Photos of PostgreSQL booth Christian Kienle <[email protected]>
2003-12-28 14:29 ` Re: Photos of PostgreSQL booth Peter Eisentraut <[email protected]>
@ 2003-12-28 21:05 ` Gaetano Mendola <[email protected]>
2003-12-28 21:56 ` Re: Photos of PostgreSQL booth Bruce Momjian <[email protected]>
0 siblings, 1 reply; 281+ messages in thread
From: Gaetano Mendola @ 2003-12-28 21:05 UTC (permalink / raw)
To: [email protected]; +Cc: Peter Eisentraut <[email protected]>
Peter Eisentraut wrote:
> Christian Kienle writes:
>
>>Here are two pictures of the PostgreSQL booth on the Linux World Expo &
>>Conference in Frankfurt 2003.
>
>
> There are more photos here:
>
> http://developer.postgresql.org/~petere/past-events/lwe2003-pictures/
No one will be at the next fosdem ?
Gaetano
^ permalink raw reply [nested|flat] 281+ messages in thread
* Re: Photos of PostgreSQL booth
2003-12-25 22:15 Photos of PostgreSQL booth Christian Kienle <[email protected]>
2003-12-28 14:29 ` Re: Photos of PostgreSQL booth Peter Eisentraut <[email protected]>
2003-12-28 21:05 ` Re: Photos of PostgreSQL booth Gaetano Mendola <[email protected]>
@ 2003-12-28 21:56 ` Bruce Momjian <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Bruce Momjian @ 2003-12-28 21:56 UTC (permalink / raw)
To: Gaetano Mendola <[email protected]>; +Cc: [email protected]; Peter Eisentraut <[email protected]>
Gaetano Mendola wrote:
> Peter Eisentraut wrote:
>
> > Christian Kienle writes:
> >
> >>Here are two pictures of the PostgreSQL booth on the Linux World Expo &
> >>Conference in Frankfurt 2003.
> >
> >
> > There are more photos here:
> >
> > http://developer.postgresql.org/~petere/past-events/lwe2003-pictures/
>
> No one will be at the next fosdem ?
They haven't invited us. Peter was going to check but I haven't heard
back from him.
--
Bruce Momjian | http://candle.pha.pa.us
[email protected] | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
* [PATCH] CREATE STATISTICS: Fix error message
@ 2025-08-28 17:53 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 281+ messages in thread
From: Álvaro Herrera @ 2025-08-28 17:53 UTC (permalink / raw)
---
src/backend/tcop/utility.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 25fe3d58016..7f5076d2c1a 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -1883,7 +1883,8 @@ ProcessUtilitySlow(ParseState *pstate,
if (!IsA(rel, RangeVar))
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("only a single relation is allowed in CREATE STATISTICS")));
+ errmsg("cannot create statistics on specified relation"),
+ errdetail("CREATE STATISTICS only supports tables, materialized views, foreign tables, and partitioned tables.")));
/*
* CREATE STATISTICS will influence future execution plans
--
2.39.5
--pbl4mx6qlbtkw6pf--
^ permalink raw reply [nested|flat] 281+ messages in thread
end of thread, other threads:[~2025-08-28 17:53 UTC | newest]
Thread overview: 281+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-12-25 22:15 Photos of PostgreSQL booth Christian Kienle <[email protected]>
2003-12-25 22:25 ` Marc G. Fournier <[email protected]>
2003-12-26 18:00 ` Michael Meskes <[email protected]>
2003-12-26 18:04 ` Marc G. Fournier <[email protected]>
2003-12-26 18:17 ` Michael Meskes <[email protected]>
2003-12-26 19:54 ` fulltext searching via a custom index type Eric Ridge <[email protected]>
2003-12-26 20:22 ` Re: fulltext searching via a custom index type Tom Lane <[email protected]>
2003-12-26 20:53 ` Re: fulltext searching via a custom index type Eric Ridge <[email protected]>
2003-12-26 21:04 ` Re: fulltext searching via a custom index type Tom Lane <[email protected]>
2003-12-26 21:38 ` Re: fulltext searching via a custom index type Eric Ridge <[email protected]>
2003-12-26 22:10 ` Re: fulltext searching via a custom index type Tom Lane <[email protected]>
2003-12-28 14:29 ` Peter Eisentraut <[email protected]>
2003-12-28 21:05 ` Gaetano Mendola <[email protected]>
2003-12-28 21:56 ` Bruce Momjian <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] CREATE STATISTICS: Fix error message Álvaro Herrera <[email protected]>
2025-08-28 17:53 [PATCH] 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