4

I want to create a function in pgsql that will take three parameters and return a single value (1 row, 1 col).

I have the query working but can not seem to find a proper example of creating a function to do this.

1 Answer 1

9

Take a look at the example on this page, or this one.

If you actually go through the documentation there are multiple example of various functions and return types.

Sign up to request clarification or add additional context in comments.

1 Comment

No idea why I couldn't find that. Thank you.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.