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.96) (envelope-from ) id 1wWrQN-002u3U-0B for pgsql-docs@arkaria.postgresql.org; Tue, 09 Jun 2026 08:03:03 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wWrQL-0063Ee-23 for pgsql-docs@arkaria.postgresql.org; Tue, 09 Jun 2026 08:03:01 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wWUda-0018wZ-0P for pgsql-docs@lists.postgresql.org; Mon, 08 Jun 2026 07:43:10 +0000 Received: from mahout.postgresql.org ([2001:4800:3e1:1::227]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1wWUdX-00000001tDb-2Bpg for pgsql-docs@lists.postgresql.org; Mon, 08 Jun 2026 07:43:09 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=postgresql.org; s=20171124; h=Message-ID:Date:Reply-To:Cc:From:To:Subject: Content-Transfer-Encoding:MIME-Version:Content-Type:Sender:Content-ID: Content-Description:In-Reply-To:References; bh=wMSY9MYisAk0RBNd6uOGVx3gDd4zHfUHBTcuG2hcO80=; b=XcwxxoKTye+nfV1epv+n8UwS7A GrXz/yj7zLh+xdJBEjUswPwOy7JBEwVlBqSZekz2cWU3OfwwjtK2S9UwXPfWBDnBAPtUnZlj6XuW0 ycR+pFXKegdFZAHgY6EPKTa7wKyuW7J3/RbXy/jnbjWQdZ4CPgJeu1dTxPbG72bsn/0TWXqxNE9yp liyUDu5GZv1UZJi9cpXkE8Dqcnmu/DDhzxjDZ+Z/fXwWJZKHmbl0t7+cSIPY9LEDGrIKzIGqn56yz 2GF9qh1as8P7iIk2dbu7WzURJTOUAbCoGQBvw4bOMZClXB5wOZAMw9gt2oJZJsMNZ1wA6oWBSUGAk I8LY8u5w==; Received: from wrigleys.postgresql.org ([2a02:16a8:dc51::60]) by mahout.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wWUdV-005QFq-2M for pgsql-docs@lists.postgresql.org; Mon, 08 Jun 2026 07:43:06 +0000 Received: from localhost ([127.0.0.1] helo=wrigleys.postgresql.org) by wrigleys.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wWUdT-00CG0u-1m for pgsql-docs@lists.postgresql.org; Mon, 08 Jun 2026 07:43:03 +0000 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: remark regarding 4.2.13. Row Constructors To: pgsql-docs@lists.postgresql.org From: PG Doc comments form Cc: jochen.bandhauer@gmx.net Reply-To: jochen.bandhauer@gmx.net, pgsql-docs@lists.postgresql.org Date: Mon, 08 Jun 2026 07:42:45 +0000 Message-ID: <178090456543.1285959.7355583344220664853@wrigleys.postgresql.org> X-Auto-Response-Suppress: All Auto-Submitted: auto-generated List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk The following documentation comment has been logged on the website: Page: https://www.postgresql.org/docs/18/sql-expressions.html Description: Hi, in https://www.postgresql.org/docs/current/sql-expressions.html#SQL-SYNTAX-ROW= -CONSTRUCTORS there is: "The key word ROW is optional when there is more than one expression in the list." I think it should be: "The key word ROW is optional when there are more than zero expressions in the list." Test Case: [postgres@lin5 ~]$ psql mydb psql (19beta1) Type "help" for help. mydb=3D# select (1); ?column? ---------- 1 (1 row) mydb=3D# select (1,2); row ------- (1,2) (1 row) mydb=3D# select (); ERROR: syntax error at or near ")" LINE 1: select (); ^ mydb=3D# select row(); row ----- () (1 row) mydb=3D# Regards Jochen