On 2025-Oct-09, Antonin Houska wrote:
> + /*
> + * Make sure ANALYZE is specified if a column list is present.
> + */
> + if ((params->options & CLUOPT_ANALYZE) == 0 && stmt->relation->va_cols != NIL)
> + ereport(ERROR,
> + (errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
> + errmsg("ANALYZE option must be specified when a column list is provided")));
>
> Shouldn't the user documentation mention this restriction?
Hmm, yeah, I guess it should. Will add.
--
Álvaro Herrera Breisgau, Deutschland — https://www.EnterpriseDB.com/
"¿Cómo puedes confiar en algo que pagas y que no ves,
y no confiar en algo que te dan y te lo muestran?" (Germán Poo)