Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gk9jO-0001Pl-Kj for pgsql-general@arkaria.postgresql.org; Thu, 17 Jan 2019 15:37:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gk9jN-00071c-6F for pgsql-general@arkaria.postgresql.org; Thu, 17 Jan 2019 15:37:21 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gk9jM-00070G-Qg for pgsql-general@lists.postgresql.org; Thu, 17 Jan 2019 15:37:20 +0000 Received: from mail.appl-ecosys.com ([50.126.108.78]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gk9jG-0001Kq-5K for pgsql-general@lists.postgresql.org; Thu, 17 Jan 2019 15:37:19 +0000 Received: from salmo.appl-ecosys.com (salmo.appl-ecosys.com [192.168.55.1]) by mail.appl-ecosys.com (Postfix) with ESMTP id 7D77999353 for ; Thu, 17 Jan 2019 07:37:12 -0800 (PST) Date: Thu, 17 Jan 2019 07:37:12 -0800 (PST) From: Rich Shepard Reply-To: Rich Shepard To: pgsql-general@lists.postgresql.org Subject: Identifying comments Message-ID: User-Agent: Alpine 2.20 (LNX 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk I know that "--" has been the single-line comment identifier since SQL was implemented by IBM on mainframes using Hollerith cards. Today, some RDBMSs also allow the C comment indentifier pair, /* ... */. The postgres10 manual when searched for 'comments' presents the double hyphens and, in Section 4.1.3, on the top line of page 39, I read that "-- and /* cannot appear anywhere in an operator name, since they will be taken as the start of a comment." I want only to confirm that I can use /* ... */ for multiline comments in my DDL and DML scripts. TIA, Rich