Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr> writes:
> Yes. Maybe decorations should be SQL comments, and the purpose/origin of
> the query could be made clear as you suggest, eg something like markdown
> in a comment:
> "-- # <whatever> QUERY\n%s\n\n"
If we keep the decoration, I'd agree with dropping all the asterisks.
I'd vote for something pretty minimalistic, like
-- INTERNAL QUERY:
regards, tom lane