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

v_generate_udf_ddl.sql how can I get complete datatype of RETURN? #712

Open
rajesh-h opened this issue Feb 8, 2024 · 0 comments
Open

v_generate_udf_ddl.sql how can I get complete datatype of RETURN? #712

rajesh-h opened this issue Feb 8, 2024 · 0 comments

Comments

@rajesh-h
Copy link

rajesh-h commented Feb 8, 2024

Hi Team,

I am currently using this DDL, It is kind of incomplete without specifying the complete return type.

right now it returns either character, date or numeric but my udf's have return as character(32) or numeric(20,2)

How can i get this details? below line is where I need to add the numbers I believe.

RETURNS ' || pg_catalog.format_type(p.prorettype, NULL) as ddl

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

No branches or pull requests

1 participant