On Aug 30, 2019, at 2:09 PM, Guyren Howe <guyren@gmail.com> wrote:On Aug 30, 2019, at 13:03 , stan <stanb@panix.com> wrote:I need to encapsulate, what are basically 2 related function calls into a singlefunction. The result of each of th calls is a date type.y current thinking is to return a 2 row table with the 2 dates in it. But, I seem tobe having issues getting this to work.Is it possible for a function to return a table with results from multiplequeries?You could just return a tuple VALUES(a, b). Or you could define a type to return if you want to get fancy.
I need to encapsulate, what are basically 2 related function calls into a singlefunction. The result of each of th calls is a date type.y current thinking is to return a 2 row table with the 2 dates in it. But, I seem tobe having issues getting this to work.Is it possible for a function to return a table with results from multiplequeries?
pgsql-general by date:
Соглашаюсь с условиями обработки персональных данных