Re: Better visualization of default values - Mailing list pgsql-hackers

From David G. Johnston
Subject Re: Better visualization of default values
Date
Msg-id CAKFQuwZ=Amu9EqJ0WGdFKDkC5EnbTBjnLzJtNXpnxXBhGYpGww@mail.gmail.com
Whole thread Raw
In response to Re: Better visualization of default values  (Marcos Pegoraro <marcos@f10.com.br>)
List pgsql-hackers
On Thu, Feb 6, 2025 at 4:46 AM Marcos Pegoraro <marcos@f10.com.br> wrote:
Objective here is to those ones who know what it is, but don't remember its default.

My approach would be to add a summary table (or tables) in the first subsection of each major X.Y (section X.Y.1) that lists the name, brief description, type, default value, and notes.  Then just leave the full descriptions self-contained as they are.  Pure redundancy but basically put the output of a psql meta-command directly into the docs.

Between these other two choices I'd lean toward placing the default only next to the data type.

David J.

pgsql-hackers by date:

Previous
From: Greg Sabino Mullane
Date:
Subject: Re: Better visualization of default values
Next
From: Alexander Borisov
Date:
Subject: Re: Optimization for lower(), upper(), casefold() functions.