I've actually seen that done - HTML straight out of a stored procedure. Really awesome <TR BGCOLOR=...><TD> stuff.
I've mostly recovered from the experience, thanks, although I do have occasional flashbacks.
I've mostly recovered from the experience, thanks, although I do have occasional flashbacks.
I can't say I haven't considered abusing PL/pgSQL to that point... ;)