For use cases where the result's fields aren't known at compile time, right now the only way to decode results is to use RowDecoderMonadic, and that's not something I want to recommend. I would rather get rid of it, actually.
The proposition in this ticket would probably address all cases I can think of.
For example, think of a SQL administration tool, like psql itself. It lets users log in and run arbitrary SQL, and it prints query results as a grid regardless of types and number of columns.
We need this feature to allow that kind of tool to be written.
For use cases where the result's fields aren't known at compile time, right now the only way to decode results is to use
RowDecoderMonadic, and that's not something I want to recommend. I would rather get rid of it, actually.The proposition in this ticket would probably address all cases I can think of.
For example, think of a SQL administration tool, like psql itself. It lets users log in and run arbitrary SQL, and it prints query results as a grid regardless of types and number of columns.
We need this feature to allow that kind of tool to be written.