Postgres encrypt a function

Hi All,

   I have a requirement to encrypt a UDF, so the code cannot be seen by anyone, but can execute it.
Is there a possiblity? Please advise.
pvsbandiAsked:
Who is Participating?
 
earth man2Commented:
There was a patch to implement the functionality for a custom build.

ALTER FUNCTION x() OBFUSCATE;
0
 
earth man2Commented:
I don't think this is possible.  Maybe you could write a C function and only provide the object library.
0
 
pvsbandiAuthor Commented:
Thank you!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.