[pgadmin-support] Execute a function?

2005-03-14 Thread Steve - DND
I'm completely baffled here. I've created a function, but how can I execute it? I tried opening up the SQL editor window and typed: test_function(20, 32); received: ERROR: syntax error at or near "test_function" at character 1 I then tried: EXECUTE my_function(20, 32); received: ERROR: prepared

Re: [pgadmin-support] Execute a function?

2005-03-14 Thread Steve - DND
> Been a _very_long while, but try: > > SELECT my_function(param_1, param_2) As Answer; Yep, that did it. I'm such a newb with PG, still trying everything the MSSQL way first. Is that the proper way to do it even if you have a function that returns void? Steve ---(end o