Re: psql - factor out echo code - Mailing list pgsql-hackers

From Tom Lane
Subject Re: psql - factor out echo code
Date
Msg-id 1155932.1625259414@sss.pgh.pa.us
Whole thread Raw
In response to Re: psql - factor out echo code  (Fabien COELHO <coelho@cri.ensmp.fr>)
Responses Re: psql - factor out echo code
List pgsql-hackers
Fabien COELHO <coelho@cri.ensmp.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



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Add proper planner support for ORDER BY / DISTINCT aggregates
Next
From: Alvaro Herrera
Date:
Subject: Re: psql - factor out echo code