Skip to content

How can I cast a variable I'm sending to an RPC (function) #1183

Discussion options

You must be logged in to vote

You need to double quote the function name if you use a camel case identifier, like:

CREATE OR REPLACE FUNCTION "CompleteQuest"("questId" bigint)

Otherwise postgres will convert the identifier to lowercase.

(Also quote the parameter names if they have uppercase chars)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@nruffilo
Comment options

Answer selected by nruffilo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants