Thread: Create function without return value?

Create function without return value?

From
Daniel Åkerud
Date:
Can you create a function (CREATE FUNCTION) that does not return any value?
 
---
Daniel Åkerud
 
[ Don't underestimate the power of stupid people in large groups]

Re: Create function without return value?

From
Peter Eisentraut
Date:
Daniel Åkerud writes:

> Can you create a function (CREATE FUNCTION) that does not return any value?

Not really.  You could declare it to return opaque, but then you can't
actually call it.  Better to declare it to return some dummy value for
now.

--
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter