如何通过 flamerobin 创建 PSQL 存储函数

How to create PSQL stored functions via flamerobin

我已经在 Firebird 3 上安装了 flamerobin 管理工具 0.9.2。有什么直接的方法可以通过 flamerobin 创建 PSQL stored functions 以及如何创建?这对我很有帮助!

创建存储函数与创建存储过程相同。对于 FlameRobin(如 ISQL),这意味着 FlameRobin 的 switch 语句终止符使用 set term 并提供函数的 DDL:

set term #;
create function f(x integer) returns integer
as
begin
  return x + 1;
end#
set term ;#

也就是说,FlameRobin 的开发已经停止,并且从未更新以支持 Firebird 3。因此,尽管您可以像这样执行 DDL,但您可能会错过某些代码完成和元数据支持中引入的功能Firebird 3。您可能需要考虑切换到其他工具。