pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
The prompt is not displayed correctly in the example on psql page
3+ messages / 2 participants
[nested] [flat]

* The prompt is not displayed correctly in the example on psql page
@ 2024-04-21 10:57 PG Doc comments form <noreply@postgresql.org>
  2024-04-22 08:45 ` Re: The prompt is not displayed correctly in the example on psql page Daniel Gustafsson <daniel@yesql.se>
  0 siblings, 1 reply; 3+ messages in thread

From: PG Doc comments form @ 2024-04-21 10:57 UTC (permalink / raw)
  To: pgsql-docs@lists.postgresql.org; +Cc: y.saburov@gmail.com

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/16/app-psql.html
Description:

On this page https://www.postgresql.org/docs/current/app-psql.html

where is?  >> `( if there is an unmatched left parenthesis`

```sql
testdb=> SELECT t1.first as "A", t2.first+100 AS "B",
t1.first*(t2.first+100) as "AxB",
testdb(> row_number() over(order by t2.first) AS ord
testdb(> FROM my_table t1 CROSS JOIN my_table t2 ORDER BY 1 DESC
testdb(> \crosstabview "A" "B" "AxB" ord
```


^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: The prompt is not displayed correctly in the example on psql page
  2024-04-21 10:57 The prompt is not displayed correctly in the example on psql page PG Doc comments form <noreply@postgresql.org>
@ 2024-04-22 08:45 ` Daniel Gustafsson <daniel@yesql.se>
  2024-04-24 11:27   ` Re: The prompt is not displayed correctly in the example on psql page Daniel Gustafsson <daniel@yesql.se>
  0 siblings, 1 reply; 3+ messages in thread

From: Daniel Gustafsson @ 2024-04-22 08:45 UTC (permalink / raw)
  To: y.saburov@gmail.com, Pg Docs <pgsql-docs@lists.postgresql.org>

> On 21 Apr 2024, at 12:57, PG Doc comments form <noreply@postgresql.org> wrote:
> 
> The following documentation comment has been logged on the website:
> 
> Page: https://www.postgresql.org/docs/16/app-psql.html
> Description:
> 
> On this page https://www.postgresql.org/docs/current/app-psql.html
> 
> where is?  >> `( if there is an unmatched left parenthesis`
> 
> ```sql
> testdb=> SELECT t1.first as "A", t2.first+100 AS "B",
> t1.first*(t2.first+100) as "AxB",
> testdb(> row_number() over(order by t2.first) AS ord
> testdb(> FROM my_table t1 CROSS JOIN my_table t2 ORDER BY 1 DESC
> testdb(> \crosstabview "A" "B" "AxB" ord
> ```

That's an impressively eagle-eyed observation, it is indeed showing an open
parenthesis where none is. Will fix.

--
Daniel Gustafsson






^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: The prompt is not displayed correctly in the example on psql page
  2024-04-21 10:57 The prompt is not displayed correctly in the example on psql page PG Doc comments form <noreply@postgresql.org>
  2024-04-22 08:45 ` Re: The prompt is not displayed correctly in the example on psql page Daniel Gustafsson <daniel@yesql.se>
@ 2024-04-24 11:27   ` Daniel Gustafsson <daniel@yesql.se>
  0 siblings, 0 replies; 3+ messages in thread

From: Daniel Gustafsson @ 2024-04-24 11:27 UTC (permalink / raw)
  To: y.saburov@gmail.com, Pg Docs <pgsql-docs@lists.postgresql.org>

> On 22 Apr 2024, at 10:45, Daniel Gustafsson <daniel@yesql.se> wrote:
> 
>> On 21 Apr 2024, at 12:57, PG Doc comments form <noreply@postgresql.org> wrote:
>> 
>> The following documentation comment has been logged on the website:
>> 
>> Page: https://www.postgresql.org/docs/16/app-psql.html
>> Description:
>> 
>> On this page https://www.postgresql.org/docs/current/app-psql.html
>> 
>> where is?  >> `( if there is an unmatched left parenthesis`
>> 
>> ```sql
>> testdb=> SELECT t1.first as "A", t2.first+100 AS "B",
>> t1.first*(t2.first+100) as "AxB",
>> testdb(> row_number() over(order by t2.first) AS ord
>> testdb(> FROM my_table t1 CROSS JOIN my_table t2 ORDER BY 1 DESC
>> testdb(> \crosstabview "A" "B" "AxB" ord
>> ```
> 
> That's an impressively eagle-eyed observation, it is indeed showing an open
> parenthesis where none is. Will fix.

Done, thanks for the report!

--
Daniel Gustafsson






^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2024-04-24 11:27 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2024-04-21 10:57 The prompt is not displayed correctly in the example on psql page PG Doc comments form <noreply@postgresql.org>
2024-04-22 08:45 ` Daniel Gustafsson <daniel@yesql.se>
2024-04-24 11:27   ` Daniel Gustafsson <daniel@yesql.se>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox