Re: misleading error message in ProcessUtilitySlow T_CreateStatsStmt

From: Richard Guo <guofenglinux(at)gmail(dot)com>
To: Álvaro Herrera <alvherre(at)kurilemu(dot)de>
Cc: Kirill Reshke <reshkekirill(at)gmail(dot)com>, jian he <jian(dot)universality(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: misleading error message in ProcessUtilitySlow T_CreateStatsStmt
Date: 2025-08-22 14:19:49
Message-ID: CAMbWs4-L2n0RrZdyWU5mh=LDzW57FreF9KBoTzx3sU8zcREnhA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Aug 22, 2025 at 6:46 PM Álvaro Herrera <alvherre(at)kurilemu(dot)de> wrote:
> I'm not sure. See the definition of relation in the glossary:
> https://www.postgresql.org/docs/18/glossary.html#GLOSSARY-RELATION
>
> The generic term for all objects in a database that have a name and a
> list of attributes defined in a specific order. Tables, sequences,
> views, foreign tables, materialized views, composite types, and
> indexes are all relations.
>
> More generically, a relation is a set of tuples; for example, the
> result of a query is also a relation.
>
> In PostgreSQL, Class is an archaic synonym for relation.
>
> (I wonder why this says "generically" rather than "generally". Is that
> word choice a mistake?)

"More generally" feels more natural to me than "more generically" in
this sentence, but I'm not a native English speaker, so I could be
wrong.

Thanks
Richard

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2025-08-22 14:37:24 Re: misleading error message in ProcessUtilitySlow T_CreateStatsStmt
Previous Message Tom Lane 2025-08-22 14:10:54 Re: Add OID descriptions to dumped parse/query/plan trees