Login or Sign up Help | Site Map
Connecting Tech Pros Worldwide

how to run function?

Question posted by: autogoor@yahoo.com (Guest) on November 23rd, 2005 02:04 AM
I define a function

CREATE OR REPLACE FUNCTION my_function(n varchar) RETURNS void AS $$
DECLARE
...
BEGIN
...
END;
$$ LANGUAGE plpgsql;

I use \i my_func_file.sql.

How can I use the function?

Would you like to answer this question?
Sign up for a free account, or Login (if you're already a member).
 
Not the answer you were looking for? Post your question . . .
184,043 Experts ready to help you find a solution.
Sign up for a free account, or Login (if you're already a member).

Latest Articles: Read & Comment
  • Didn't find the answer you were looking for?
    Post Your Question
  • Top Community Contributors