On Tue, 2026-08-25 at 18:13 +0200, Alberto Piai wrote:
> Ah, I see what you mean now. I agree, "root partition" makes no sense.
> 
> So, removing the slash, it would look like:
> 
>   ERROR:  cannot convert column "c" to generated
>   DETAIL:  Converting only part of a partitioning or inheritance hierarchy is 
> not supported.
>   HINT:  Use this command on the partitioning or inheritance root without 
> specifying ONLY.
> 
> Maybe a bit heavy on the eye?
> 
> Since the root of the hierarchy is in both cases just a table
> (partitoned or not), what about just calling it a table?
> 
>   ERROR:  cannot convert column "c" to generated
>   DETAIL:  Converting only part of a partitioning or inheritance hierarchy is 
> not supported.
>   HINT:  Use this command on the root table without specifying ONLY.

Both variants look fine to me.  Pick the one you prefer.

Yours,
Laurenz Albe


Reply via email to