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 1oWCgm-000394-Ql for pgsql-hackers@arkaria.postgresql.org; Thu, 08 Sep 2022 08:15:08 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oWCgl-0007NS-38 for pgsql-hackers@arkaria.postgresql.org; Thu, 08 Sep 2022 08:15:07 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oWCgk-0007NJ-Py for pgsql-hackers@lists.postgresql.org; Thu, 08 Sep 2022 08:15:06 +0000 Received: from relay8-d.mail.gandi.net ([2001:4b98:dc4:8::228]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oWCge-0001lS-4O for pgsql-hackers@postgresql.org; Thu, 08 Sep 2022 08:15:05 +0000 Received: (Authenticated sender: vik@postgresfriends.org) by mail.gandi.net (Postfix) with ESMTPSA id 1A0A51BF216; Thu, 8 Sep 2022 08:14:56 +0000 (UTC) Message-ID: <01484c80-484a-6aed-b547-1355e4cb903e@postgresfriends.org> Date: Thu, 8 Sep 2022 10:14:56 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: Doc fix and adjustment for MERGE command Content-Language: en-US To: Vitaly Burovoy , pgsql-hackers@postgresql.org References: <9afe5766-5a61-7860-598c-136867fad065@gmail.com> From: Vik Fearing In-Reply-To: <9afe5766-5a61-7860-598c-136867fad065@gmail.com> 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 On 9/7/22 22:51, Vitaly Burovoy wrote: > Hello hackers! > > Reading docs for the MERGE statement I've found a little error: a > semicolon in middle of a statement and absence of a semicolon in the end > of it. > > Key words in subqueries are written in uppercase everywhere in the docs > but not in an example for MERGE. I think it should be adjusted too. > > > Also aliases, table and column names are written in lowercase > (snake_case) almost all over the docs. I did not dare to fix examples in > the same patch (may be that style was intentional), but guess that style > of the first two examples should not differ from the third one and from > other examples in docs. I agree with both of these patches (especially the semicolon part which is not subjective). -- Vik Fearing