Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nXmkr-0004x8-Gi for pgsql-general@arkaria.postgresql.org; Fri, 25 Mar 2022 16:25:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nXmkq-0005xB-BV for pgsql-general@arkaria.postgresql.org; Fri, 25 Mar 2022 16:25:36 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nXmkq-0005wz-1B for pgsql-general@lists.postgresql.org; Fri, 25 Mar 2022 16:25:36 +0000 Received: from mail-pg1-x52d.google.com ([2607:f8b0:4864:20::52d]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nXmkn-0002V2-VG for pgsql-general@lists.postgresql.org; Fri, 25 Mar 2022 16:25:35 +0000 Received: by mail-pg1-x52d.google.com with SMTP id c2so6827088pga.10 for ; Fri, 25 Mar 2022 09:25:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:from:in-reply-to:content-transfer-encoding; bh=7fuvfAqPI8rMV9aTyHM3ezqtErtJ/YReJAQwiQ4N5cs=; b=JID/4Jp8hnMRmgz1ukVaPdo4K3wxqKgjuZg9ZKf2hqq4I4RxNCeuDC6g/B4p3TX931 Ox32is+sdNzOg6SSJ2ClOUK40W+oUu7+QKyxR0OjuqfmY90oNTtXecgiGSeLaE/gedAb kW5sNeJinc2V9DqgeZBa1vWUxLUOvfCmBg4+7QWHowWvv5yBfawP8H1bEjcudMRvxGnN aaJ53PHP23aWoJaja+zWZ+B+pkAUMJeMpt/j606b18jFGuqguSaKTwNyJEaaIGXcGrjB iZW4Ihe6MYcG41cPp7+zKqhPzg29YuZs/0CmQ9tzQZp+kDnBOY5ieJz2NBNA/FmNH1v0 ytQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=7fuvfAqPI8rMV9aTyHM3ezqtErtJ/YReJAQwiQ4N5cs=; b=5ou97+2kUwoxDIbs5TN81Gz1aQMABWe331wB+d2kWQgRUVmXAy4AB0jzUnaI1MN+DU MR0o42amx8JmA0GP800uw8kKVI1eHqgvFqYMFPkZZrNYkp6OFDuigcX4fC8X3DzGmNJ/ kk2YpV7K057+tHgEtIL6YOR/wSKiMM/WDOx2mTBEHwK541Y3aHjY6irnstsnI+guObXY eh67mF0UT/y7rCeO6R+QbYpVHYDIBd3OtuPANNvZzaOdGv7tI8+ZE8YaO4C3pngU1pbX HbXWZOvLJhgB2XgiyU6Elsl/r5ltuZYK31JZfsopIRWhPfw+hXOKUJ2aB+xs4TzCBrIc eGgQ== X-Gm-Message-State: AOAM531Pu/Fi+M2meSfExUSi70Cm4Vpd0/3XvLRnQEDCp1IqyNxDa8ZF 1r69vj7febHj+T+SCNPykDuA5VoWHTM= X-Google-Smtp-Source: ABdhPJxZO5JP0NMrgxdjQ9+WRwtv9Wiror8Qubvo+qux5Wt8s29f5vJtLpsbyftoOGnCeDLmZEiepg== X-Received: by 2002:a63:3854:0:b0:398:f37:f95e with SMTP id h20-20020a633854000000b003980f37f95emr322315pgn.130.1648225532479; Fri, 25 Mar 2022 09:25:32 -0700 (PDT) Received: from [10.128.71.194] ([155.98.131.2]) by smtp.gmail.com with ESMTPSA id s15-20020a17090a880f00b001c6b0114038sm6544712pjn.4.2022.03.25.09.25.31 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 25 Mar 2022 09:25:31 -0700 (PDT) Message-ID: <48a04123-7962-b1e0-4d01-63c202c10f1f@gmail.com> Date: Fri, 25 Mar 2022 10:25:30 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: Leading comments and client applications Content-Language: en-CA To: pgsql-general@lists.postgresql.org References: <265623A4-F304-4E68-90D0-343F614DB2B7@americanefficient.com> <3262782.1648223941@sss.pgh.pa.us> From: Rob Sargent In-Reply-To: <3262782.1648223941@sss.pgh.pa.us> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > As far as the comparison behavior goes, psql's parser strips > comments that start with double dashes, for $obscure_reasons. That story aught to be worth a $beer or two > The server is perfectly capable of ignoring those by itself, > though. (Awhile back I tried to remove that psql behavior, > but it caused too much churn in our regression tests.) > > regards, tom lane > >