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 1pKbFm-0000NK-IK for pgsql-hackers@arkaria.postgresql.org; Wed, 25 Jan 2023 08:35:35 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pKbFj-0006nz-Ux for pgsql-hackers@arkaria.postgresql.org; Wed, 25 Jan 2023 08:35:31 +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 1pKbFj-0006mG-E2 for pgsql-hackers@lists.postgresql.org; Wed, 25 Jan 2023 08:35:31 +0000 Received: from mail.postgrespro.ru ([93.174.131.139]) by makus.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pKbFf-0007vJ-J2 for pgsql-hackers@lists.postgresql.org; Wed, 25 Jan 2023 08:35:30 +0000 Received: from [192.168.28.32] (cyclops.postgrespro.ru [93.174.131.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mail.postgrespro.ru (Postfix) with ESMTPSA id 2F02121C83B3; Wed, 25 Jan 2023 11:35:24 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=postgrespro.ru; s=mail; t=1674635724; bh=62WPWoBWJDBvSlnGCx68u7Q+9CSGckVgEzgRXCYCHmA=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=FQQMGEXEd81l539cX/EPRqhNcgud5PcL3IMQo0fKlvS617Dywhg9ws6zyw8C+YIXU uTQ3iQ9cNx6IKVdlfwOUjjWRIBafUPOwhBseexXrZ9Ebz4U/POQ+t5JknMdXHf6mRp nreT5H9GJOvRz6shGzLEiboLCjG1mVBh1eSbkVi4= Message-ID: Date: Wed, 25 Jan 2023 11:35:24 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: Operation log for major operations Content-Language: ru, en-US To: Ted Yu Cc: Alvaro Herrera , PostgreSQL Hackers References: <20221123090021.ba5johlgwwdx2nzm@alvherre.pgsql> <066b68a1-6e25-6e10-a88f-4f24e7b60a51@postgrespro.ru> <919243a3-4811-6fef-32fe-f03d89f80ffb@postgrespro.ru> <4cbc15b2-40d4-70a5-ec20-c2044439b309@postgrespro.ru> <69d49e4f-a7ab-e36b-cf2c-1e0809d0234a@postgrespro.ru> From: Dmitry Koval In-Reply-To: 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 Hi! > Maybe another discussion thread can be created for the consolidation of > XX_file_exists functions. Usually XX_file_exists functions are simple. They contain single call stat() or open() and specific error processing after this call. Likely the unified function will be too complex to cover all the uses of XX_file_exists functions. -- With best regards, Dmitry Koval Postgres Professional: http://postgrespro.com