> david.g.johns...@gmail.com wrote:
>
>> b...@yugabyte.com wrote:
>>
>> I've found that a table function with "returns table(r text)" provides a
>> convenient way to write a nicely formatted report using psql that can be
>> easily directed to a file with the "\o" metacommand. In general, for ca
Hi
> It adds an uncomfortable amount of clutter.
>
> ** Is it essential for correctness? **
>
> It's annoying that the use of "return next" prevents the pattern that each
> "print line" follows from being encapsulated into a procedure. But it is
> what it is, yes?
>
RETURN NEXT, RETURN QUERY (RE
On Tue, Feb 14, 2023 at 4:49 PM Bryn Llewellyn wrote:
> I've found that a table function with "returns table(r text)" provides a
> convenient way to write a nicely formatted report using psql that can be
> easily directed to a file with the "\o" metacommand. In general, for cases
> like this, I c