Обсуждение: Create function without return value?

Поиск
Список
Период
Сортировка

Create function without return value?

От
Daniel Åkerud
Дата:
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?

От
Peter Eisentraut
Дата:
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