Hi Junwang
On 01/10/2026 17:31, Junwang Zhao wrote:
> The preceding RangeVarGetAndCheckCreationNamespace has already
> initialized the temporary namespace and returned its OID, so simplified it
> to:
>
> if (stmt->relation->schemaname == NULL)
> stmt->relation->schemaname = get_namespace_name(namespaceid);
>
> should work, I did a quick test to verify this.
+1
Thanks! I will write some tests and prepare a patch.
Best, Jim