/ Published in: SQL
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
-- View functions in postgres \df SELECT * FROM pg_proc WHERE proname = 'myfunction'; -- View code of the function SELECT prosrc FROM pg_proc WHERE proname = 'myfunciont'; -- Execute a function SELECT myfunction(parameters);