Skip to content
New issue

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

Empty source when showing metadata of UDR (external Stored Procedure) #34039

Open
tonne1 opened this issue May 23, 2024 · 1 comment
Open

Empty source when showing metadata of UDR (external Stored Procedure) #34039

tonne1 opened this issue May 23, 2024 · 1 comment

Comments

@tonne1
Copy link

tonne1 commented May 23, 2024

Description

Metadata of UDRs (user defined routines) is not extracted, in this case metadata of external Stored Procedures.

DBeaver Version

Community Edition 24.0.5

Operating System

Win10, Win11

Database and driver

  1. Firebird 4, Firebird 5
  2. org.firebirdsql.jdbc:jaybird:RELEASE 5.0.4.java11

Steps to reproduce

Not as easy as with external stored functions, since there are no external stored procedures shipped with a Firebird installation. This system table query gives an idea of what to look for:

select trim(rdb$procedure_name) name, trim(rdb$engine_name) engine, trim(rdb$entrypoint) entrypoint
from rdb$procedures
where rdb$engine_name = 'UDR'

The outcome of metadata extraction should be something like this:

CREATE PROCEDURE WRITE_TXT (
    TEXT blob sub_type 1 NOT NULL,
    FILE_NAME varchar(500) NOT NULL,
    "MODE" varchar(10) NOT NULL )
RETURNS (
    STATUS varchar(100) )
EXTERNAL NAME 'pascaludr!write_txt' 
ENGINE UDR

similar to the extraction of external stored functions.

Additional context

No response

@E1izabeth
Copy link
Member

Thank you for bug report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants