| From: | David Rowley <dgrowleyml(at)gmail(dot)com> |
|---|---|
| To: | Daniel Gustafsson <daniel(at)yesql(dot)se> |
| Cc: | jonas(dot)rosenthal(at)protechninjas(dot)com, pgsql-docs(at)lists(dot)postgresql(dot)org |
| Subject: | Re: 5.12.2.1. Example |
| Date: | 2026-10-23 08:53:57 |
| Message-ID: | CAApHDvoy8R8SPiZN-hWbOkJQ4myY01Pc8YUAObVFx5SOV+uehA@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-docs |
On Fri, 23 Oct 2026 at 21:45, Daniel Gustafsson <daniel(at)yesql(dot)se> wrote:
>
> > On 23 Oct 2026, at 10:33, David Rowley <dgrowleyml(at)gmail(dot)com> wrote:
> > -- plus y2006m04 .. y2007m10 (abbreviation for brevity)
>
> Or perhaps "-- repeated for y2006m04 .. y2007m10 (abbreviated for brevity)"
or "repeat", as in, we're asking them to do it.
> If someone copy pastes the entire block I fear that they think it's a complete
> example, and when it isn't then perhaps getting a syntax error is better?
I think as long as there are no errors to say table yNNNNmNN does not
exist between all the example there, it's probably fine. I do see the
trigger function example doesn't contain all the tables that were
created, but I think that's fine. Making that example longer to fix
that wouldn't make it any more readable. I don't think we promise
fully working examples. IMO, they're aimed to be a guide for learning.
> That being said, replacing "..." is a good idea regardless of being a comment
> or not, your suggestion makes the docs more readable,
I'm happy to review a patch.
David
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Matemática A3K | 2026-10-23 15:38:07 | Re: 5.12.2.1. Example |
| Previous Message | Daniel Gustafsson | 2026-10-23 08:44:55 | Re: 5.12.2.1. Example |