Re: pg_input_error_info doc 2 exampled crammed together - Mailing list pgsql-hackers

From David G. Johnston
Subject Re: pg_input_error_info doc 2 exampled crammed together
Date
Msg-id CAKFQuwY1YLOEgWRPd20dEqLSi8QT8uu0yBSm3=faDk99F=qW7Q@mail.gmail.com
Whole thread Raw
In response to Re: pg_input_error_info doc 2 exampled crammed together  (Michael Paquier <michael@paquier.xyz>)
Responses Re: pg_input_error_info doc 2 exampled crammed together
List pgsql-hackers
On Sunday, April 28, 2024, Michael Paquier <michael@paquier.xyz> wrote:
On Sun, Apr 28, 2024 at 06:45:30PM -0700, David G. Johnston wrote:
> My preference would be to limit this section to a single example.  The
> numeric one, as it provides values for more output columns.  I would change
> the output format to expanded from default, in order to show all columns
> and not overrun the length of a single line.

Agreed that having two examples does not bring much, so this could be
brought to a single one.  The first one is enough to show the point of
the function, IMO.  It is shorter in width and it shows all the output
columns.


Agreed.  The column names are self-explanatory if you’ve seen errors before.  The values are immaterial.  Plus we don’t generally use psql-specific features in our examples.

David J.
 

pgsql-hackers by date:

Previous
From: Alexander Lakhin
Date:
Subject: Re: A failure in prepared_xacts test
Next
From: Tom Lane
Date:
Subject: Re: A failure in prepared_xacts test