On Thu, 2008-04-17 at 12:41 -0400, Tom Lane wrote:
> Simon Riggs <simon@2ndquadrant.com> writes:
> > On Thu, 2008-04-17 at 12:12 -0400, Tom Lane wrote:
> >> Aren't these suggestions mutually contradictory?
>
> > No, they're orthogonal. The pretty printer would get the indenting and
> > line feeds correct, the obfuscator would replace actual names with "A",
> > "B" or "Table1" etc..
>
> Hmm, that's not what I'd call an "obfuscator", more an "anonymizer".
> Code obfuscators are generally intended to make code unreadable
> (in fact de-pretty-printing is one of their chief techniques).
That's a better term. I did say "name obfuscator" but I can see how that
was confusing, especially with the recent discussion on code
obfuscation. Sorry about that.
--
Simon Riggs
2ndQuadrant http://www.2ndQuadrant.com