#PostgreSQL / #SQL question:
SELECT my_func(x.some_col)
FROM x
ORDER BY x.some_col
AFAIK this doesn't guarantee the order in which `my_func` is called. How can I force the order without relying on undefined behavior? Is it possible without plpgsql?
SELECT my_func(x.some_col)
FROM x
ORDER BY x.some_col
AFAIK this doesn't guarantee the order in which `my_func` is called. How can I force the order without relying on undefined behavior? Is it possible without plpgsql?
my_func() in this case has DML side-effects, that's why I care about the order.