isql doesn't know the difference between UDF's and psql-functions ------------------------------------------------------------------
Key: CORE-3963 URL: http://tracker.firebirdsql.org/browse/CORE-3963 Project: Firebird Core Issue Type: Improvement Components: ISQL Affects Versions: 3.0 Initial Environment: probably all Reporter: Frank Schlottmann-Goedde Priority: Minor Using the following script in isql against the employee database shows the issue: /* isql doesn't know the difference between UDF's and psql-functions SQL> show functions; ABS QR SQL> show function abs; Function ABS: Function library is ib_udf Entry point is IB_UDF_abs Returns BY VALUE DOUBLE PRECISION Argument 1: DOUBLE PRECISION SQL> show function qr; Function QR: Function library is Entry point is Returns BY VALUE DOUBLE PRECISION Argument 1: BY VALUE DOUBLE PRECISION */ drop function "ABS"; drop function qr; commit; set term^; DECLARE EXTERNAL FUNCTION "ABS" DOUBLE PRECISION RETURNS DOUBLE PRECISION BY VALUE ENTRY_POINT 'IB_UDF_abs' MODULE_NAME 'ib_udf'; create function qr (inp double precision) returns double precision as declare variable out double precision; begin out=inp*inp; return out ; end^ set term; ^ commit; show functions; show function abs; show function qr; exit; -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://tracker.firebirdsql.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ The Windows 8 Center - In partnership with Sourceforge Your idea - your app - 30 days. Get started! http://windows8center.sourceforge.net/ what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/ Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel