Peter Eisentraut 9ec0b29976 CREATE STATISTICS: improve misleading error message
The previous change (commit f225473cbae) was still not on target,
because it talked about relation kinds, which are not what is being
checked here.  Provide a more accurate message.

Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/CACJufxEZ48toGH0Em_6vdsT57Y3L8pLF=DZCQ_gCii6=C3MeXw@mail.gmail.com
2025-09-15 11:43:34 +02:00
..
2025-01-01 11:21:55 -05:00
2025-09-15 08:31:11 +02:00
2025-09-15 11:04:10 +02:00
2025-07-16 14:13:18 -07:00
2025-05-05 12:04:49 +02:00
2025-09-12 07:57:06 +02:00
2025-03-26 19:45:32 -04:00