SELECT List with/without parentheses - Mailing list pgsql-docs

From PG Doc comments form
Subject SELECT List with/without parentheses
Date
Msg-id 175702516430.356921.959597202664413151@wrigleys.postgresql.org
Whole thread Raw
Responses Re: SELECT List with/without parentheses
Re: SELECT List with/without parentheses
List pgsql-docs
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/17/sql-select.html
Description:

Here: https://www.postgresql.org/docs/current/sql-select.html

There is no mention of the difference in PostgreSql behavior if the select
list of columns is surrounded by parentheses or not. The difference is quite
dramatic and non-obvious, especially when working with a database driver
(like pq or pqxx) where the result is packed up in a fairly opaque object.
Just some mention of how using parentheses causes a query to return a "row"
object that represents the tuple as a single string vs not using parentheses
where each column is represented individually.

Thank you for the wonderful work you do!

---Jason

pgsql-docs by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Inaccurate statement about log shipping replication mode
Next
From: Pierrick
Date:
Subject: Adding clarification on extension_control_path when extension is present in multiple folders