Re: Bug in pg_describe_object, patch v2 - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Bug in pg_describe_object, patch v2
Date
Msg-id 291.1294879632@sss.pgh.pa.us
Whole thread Raw
In response to Re: Bug in pg_describe_object, patch v2  (Andreas Karlsson <andreas@proxel.se>)
Responses Re: Bug in pg_describe_object, patch v2  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
Andreas Karlsson <andreas@proxel.se> writes:
> Here is a very simple change of the patch to make the output look more
> like the syntax of ALTER OPERATOR FAMILY to improve consistency.

IMO, what this patch needs is to not output the types unless they are
actually different from the default (which can be inferred from the AM
type and the function arguments).  That would fix my concern about it
emitting information that is 99.44% useless.
        regards, tom lane


pgsql-hackers by date:

Previous
From: "David E. Wheeler"
Date:
Subject: Re: Fixing GIN for empty/null/full-scan cases
Next
From: Stephen Frost
Date:
Subject: Re: Add support for logging the current role