Re: Assert failure in base_yyparse
Richard Guo <guofenglinux@gmail.com>
From: Richard Guo <guofenglinux@gmail.com>
To: Евгений Горбанев <gorbanyoves@basealt.ru>
Cc: pgsql-hackers@lists.postgresql.org
Date: 2025-03-28T09:34:48Z
Lists: pgsql-hackers
On Fri, Mar 28, 2025 at 6:05 PM Richard Guo <guofenglinux@gmail.com> wrote: > Nice catch. Yeah, is_not_null is a valid column option in xmltable. > In you example, the value of the is_not_null option is "|| 'c'", which > is interpreted as an A_Expr. > > I wonder if the value's type should be checked earlier, rather than at > the last minute. 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
Commits
-
Fix Assert failure in XMLTABLE parser
- 666103090f1d 15.14 landed
- d3716d4b1357 16.10 landed
- 2f48b4f075fb 17.6 landed
- fe29b2a1dab2 18.0 landed