From: | Евгений Горбанев <gorbanyoves(at)basealt(dot)ru> |
---|---|
To: | Richard Guo <guofenglinux(at)gmail(dot)com> |
Cc: | pgsql-hackers(at)lists(dot)postgresql(dot)org |
Subject: | Re: Assert failure in base_yyparse |
Date: | 2025-03-28 10:12:37 |
Message-ID: | 62d5fa6e-4fe5-4527-a0a2-5dd32e6b3cf7@basealt.ru |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)gmail(dot)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 | Content-Type | Size |
---|---|---|
0001-Fix-usage-of-is_not_null-in-xmltable.patch | text/x-patch | 1.1 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Richard Guo | 2025-03-28 10:19:04 | Re: duplicated comments on get_relation_constraints |
Previous Message | Ashutosh Bapat | 2025-03-28 10:03:51 | Re: NOT ENFORCED constraint feature |