Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rypLp-000gY7-Kk for pgsql-docs@arkaria.postgresql.org; Mon, 22 Apr 2024 08:48:38 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1rypLo-000nWo-CF for pgsql-docs@arkaria.postgresql.org; Mon, 22 Apr 2024 08:48:36 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rypIr-000mAV-Gr for pgsql-docs@lists.postgresql.org; Mon, 22 Apr 2024 08:45:33 +0000 Received: from smtp.outgoing.loopia.se ([93.188.3.37]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rypIo-0042w3-4T for pgsql-docs@lists.postgresql.org; Mon, 22 Apr 2024 08:45:32 +0000 Received: from s807.loopia.se (localhost [127.0.0.1]) by s807.loopia.se (Postfix) with ESMTP id E55A73010444 for ; Mon, 22 Apr 2024 10:45:26 +0200 (CEST) Received: from s980.loopia.se (unknown [172.22.191.5]) by s807.loopia.se (Postfix) with ESMTP id D55692E28985; Mon, 22 Apr 2024 10:45:26 +0200 (CEST) Received: from s898.loopia.se (unknown [172.22.191.5]) by s980.loopia.se (Postfix) with ESMTP id D3B7722016B0; Mon, 22 Apr 2024 10:45:26 +0200 (CEST) X-Virus-Scanned: amavisd-new at amavis.loopia.se X-Spam-Flag: NO X-Spam-Score: -1.21 X-Spam-Level: X-Spam-Status: No, score=-1.21 tagged_above=-999 required=6.2 tests=[ALL_TRUSTED=-1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=disabled Authentication-Results: s898.loopia.se (amavisd-new); dkim=pass (2048-bit key) header.d=yesql.se Received: from s934.loopia.se ([172.22.191.6]) by s898.loopia.se (s898.loopia.se [172.22.190.17]) (amavisd-new, port 10024) with UTF8LMTP id L2y5GKUueGtm; Mon, 22 Apr 2024 10:45:26 +0200 (CEST) X-Loopia-Auth: user X-Loopia-User: daniel@yesql.se X-Loopia-Originating-IP: 89.255.232.193 Received: from smtpclient.apple (customer-89-255-232-193.stosn.net [89.255.232.193]) (Authenticated sender: daniel@yesql.se) by s934.loopia.se (Postfix) with ESMTPSA id 4E1877CEA95; Mon, 22 Apr 2024 10:45:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yesql.se; s=loopiadkim1707475645; t=1713775526; bh=lGZ5Kp2HhRXiq1eB5enUtjo/syQLOtJ+Kt0ejxn6UFA=; h=From:Subject:Date:References:To:In-Reply-To; b=p86yz4MDeGauTLt//HN2jZYwpr8InUyhXTEBmr2FBf82k2VlBEgxrfG2tn15dUgL8 LDbnR3shpqQnqQyRlLg4S3FlVJc90cZY/a2WF5lQSK2FVBHtXjW3G7eOhsr58bogbt pWwRwxmqP61G5M6TLHMnfKLdUat7YFsN/M+mlszvJYm37Akxf1L/3bf1pYXfc/qTLi AUh+0i1D9teubkz3R43Z4Ujv3GTsQWMjq4FhwNf5wQyVs5/DRRKEPkipOv7zbPKlVE +PJkrXQmzHxHCGjtkNopxlLBnKa+Llkh1EhyXMQpU4Iocnq7Qz/QtUfgLe0D17uZyL XaLt1tOzPWUAw== From: Daniel Gustafsson Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.500.171.1.1\)) Subject: Re: The prompt is not displayed correctly in the example on psql page Date: Mon, 22 Apr 2024 10:45:15 +0200 References: <171369707837.684.8207966689229976474@wrigleys.postgresql.org> To: y.saburov@gmail.com, Pg Docs In-Reply-To: <171369707837.684.8207966689229976474@wrigleys.postgresql.org> Message-Id: X-Mailer: Apple Mail (2.3774.500.171.1.1) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On 21 Apr 2024, at 12:57, PG Doc comments form = wrote: >=20 > The following documentation comment has been logged on the website: >=20 > Page: https://www.postgresql.org/docs/16/app-psql.html > Description: >=20 > On this page https://www.postgresql.org/docs/current/app-psql.html >=20 > where is? >> `( if there is an unmatched left parenthesis` >=20 > ```sql > testdb=3D> 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