?????? I added a ?? operator, the sqrt function is still used internally, but now there is a problem, it affects the := and .. operators of the database

2021-11-11 Thread ??????????????
Hello everyone, I modified src/fe_utils/psqlscan.l src/interfaces/ecpg/preproc/pgc.l src/pl/plpgsql/src/pl_gram.y according to his suggestion to keep scan.l gram.y consistent , But still error ---- ??:

Re: I added a √ operator, the sqrt function is still used internally, but now there is a problem, it affects the := and .. operators of the database

2021-11-11 Thread David G. Johnston
On Thursday, November 11, 2021, 孤傲小二~阿沐 <2903807...@qq.com> wrote: > Hello, I think what you said is right, it should be the problem. But I > don't know what to do in the lexical analysis system of plpgsql to solve > this problem. > > “To match” means keep two copies identical, in this case

回复: I added a √ operator, the sqrt function is still used internally, but now there is a problem, it affects the := and .. operators of the database

2021-11-11 Thread 孤傲小二~阿沐
Hello, I think what you said is right, it should be the problem. But I don't know what to do in the lexical analysis system of plpgsql to solve this problem. --原始邮件-- 发件人:

Re: I added a ?? operator, the sqrt function is still used internally, but now there is a problem, it affects the := and .. operators of the database

2021-11-11 Thread Tom Lane
"=?gb18030?B?ucKwwdChtv6hq7Ci4+U=?=" <2903807...@qq.com> writes: > # Description of Requirement: > 1¡¢select ¡Ì num1; function > 2¡¢The value of num1 is required to be: [0,9223372036854775807] > 3¡¢¡Ì The operation does not allow decimals Looks suspiciously like a homework assignment. > I have

?????? I added a ?? operator, the sqrt function is still used internally, but now there is a problem, it affects the := and .. operators of the database

2021-11-11 Thread ??????????????
Hello, do you mean there is a problem with this symbol itself?But so far, there are no problems when using it. sqrt "??" So where do you think this should be added? I tried to change the position but the error still persists ---- ??:

Re: I added a √ operator, the sqrt function is still used internally, but now there is a problem, it affects the := and .. operators of the database

2021-11-11 Thread David G. Johnston
Guessing here but try a different symbol, something in ASCII (I'm guessing the current choice is not). The fact that you added your symbol directly above dotdot and colonequals is suspicious... David J. On Thu, Nov 11, 2021, 21:32 孤傲小二~阿沐 <2903807...@qq.com> wrote: > Hello, thank you for your

?????? I added a ?? operator, the sqrt function is still used internally, but now there is a problem, it affects the := and .. operators of the database

2021-11-11 Thread ??????????????
Hello, thank you for your busy reply. The purpose of this development is to learn PostgreSQL's lexical parsing process in depth, and it has no substantial effect. You can ignore this. The limitation of the scene can also be ignored. The problem now is that select ?? 1024; can be used

Re: I added a √ operator, the sqrt function is still used internally, but now there is a problem, it affects the := and .. operators of the database

2021-11-11 Thread David G. Johnston
On Thu, Nov 11, 2021 at 8:42 PM 孤傲小二~阿沐 <2903807...@qq.com> wrote: > I added a √ operator to scan.l. > Why? > The sqrt function is still used internally, but there is a problem now, > which affects the := and .. operators of the database. > Someone else will have to volunteer their time to

I added a ?? operator, the sqrt function is still used internally, but now there is a problem, it affects the := and .. operators of the database

2021-11-11 Thread ??????????????
Hello everyone?? I added a ?? operator to scan.l. The sqrt function is still used internally, but there is a problem now, which affects the := and .. operators of the database. # Description of Requirement: 1??select ?? num1; function 2??The value of num1 is required to be: