Re: [PATCH] Formatting patch for psql - Mailing list pgsql-patches

From Tom Lane
Subject Re: [PATCH] Formatting patch for psql
Date
Msg-id 17281.1132885435@sss.pgh.pa.us
Whole thread Raw
In response to Re: [PATCH] Formatting patch for psql  (Martijn van Oosterhout <kleptog@svana.org>)
Responses Re: [PATCH] Formatting patch for psql  (Martijn van Oosterhout <kleptog@svana.org>)
List pgsql-patches
Martijn van Oosterhout <kleptog@svana.org> writes:
> And what I'm saying is that you can only do that if all single byte
> encodings are ASCII compatable and I'm not prepared to say that...

psql already assumes that; see the flex processor.

> So in the switch statement I listed the encodings I know to be ASCII
> compatable and at some point someone who actually knows the other
> encodings will explain what needs to be done.

Even if this were an appropriate solution, the formatting code is not
the place to put such knowledge...

            regards, tom lane

pgsql-patches by date:

Previous
From: Martijn van Oosterhout
Date:
Subject: Re: [PATCH] Formatting patch for psql
Next
From: Martijn van Oosterhout
Date:
Subject: Re: [PATCH] Formatting patch for psql