We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
plisql 创建函数/存储过程存在问题
IvorySQL master
CentOS -8
set ivorysql.compatible_mode = oracle;
1、感觉词法处理不到位 不能消化/ 后续变成- 不能结束的状态
create or replace function ftest return int as begin return 25; end; /
结果如图:
2、 在原先的基础上 声明了一个变量 va ,可能需要检查语法文件和词法文件
create or replace function ftest return int as va int; begin return 25; end; /
3、触发了一次 后续没有再碰到 这个就更有意思了 复制粘贴正常运行 能消耗'/ '并且创建成功,但是按上建 or replace会陷入不能结束的状态
正常创建
如上所示
The text was updated successfully, but these errors were encountered:
第一种情况 其实不改也没啥事 就和EDB一样
Sorry, something went wrong.
感谢您提的问题,针对第一个问题,我们是已经解决了的,具体用法如下:
盲猜一嘴 这也许是在psql层面配合语法文件实现的隐含参数 。 想请问关于ivorysql内置的隐含参数 由具体文档链接提供吗 没这些东西的话 比如说此处的**\parser** 对于初来乍到的开发人员来说属实有些痛苦
目前暂时没有相关文档,后续会补充相关文档到IvorySQL官网
Leo-XM-Zeng
No branches or pull requests
Bug Report
plisql 创建函数/存储过程存在问题
IvorySQL Version
IvorySQL master
OS Version (uname -a)
CentOS -8
Configuration options ( config.status --config )
set ivorysql.compatible_mode = oracle;
Current Behavior
1、感觉词法处理不到位 不能消化/ 后续变成- 不能结束的状态
结果如图:
2、 在原先的基础上 声明了一个变量 va ,可能需要检查语法文件和词法文件
结果如图:
3、触发了一次 后续没有再碰到 这个就更有意思了 复制粘贴正常运行 能消耗'/ '并且创建成功,但是按上建 or replace会陷入不能结束的状态
Expected behavior/code
正常创建
Step to reproduce
如上所示
Additional context that can be helpful for identifying the problem
The text was updated successfully, but these errors were encountered: