Re: Assert failure in base_yyparse - Mailing list pgsql-hackers

From Евгений Горбанев
Subject Re: Assert failure in base_yyparse
Date
Msg-id 62d5fa6e-4fe5-4527-a0a2-5dd32e6b3cf7@basealt.ru
Whole thread Raw
In response to Re: Assert failure in base_yyparse  (Richard Guo <guofenglinux@gmail.com>)
List pgsql-hackers
> Also, I think IsA is a better choice for checking the node type.

Agree, IsA is better. Fixed in the patch.


> On Fri, Mar 28, 2025 at 6:05 PM Richard Guo <guofenglinux@gmail.com> wrote:
> Hmm, I wonder if we should allow the use of the 'is_not_null' keyword
> in xmltable.  According to the doc, it seems that users should declare
> NULL or NOT NULL for a column by specifying [NOT NULL | NULL] for the
> column.
>
> Thanks
> Richard

If you replace is_not_null with NOT NULL in the query, everything works 
correctly.
It seems that is_not_null is an incorrect keyword and it should not be 
used, but I don't understand how it gets here.

Best regards,
Evgeniy




Attachment

pgsql-hackers by date:

Previous
From: Ashutosh Bapat
Date:
Subject: Re: NOT ENFORCED constraint feature
Next
From: Richard Guo
Date:
Subject: Re: duplicated comments on get_relation_constraints