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 1vftNO-005py7-1T for pgsql-hackers@arkaria.postgresql.org; Wed, 14 Jan 2026 05:25: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 1vftNN-0085DK-1T for pgsql-hackers@arkaria.postgresql.org; Wed, 14 Jan 2026 05:25:01 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vftNN-0085DC-0O for pgsql-hackers@lists.postgresql.org; Wed, 14 Jan 2026 05:25:01 +0000 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1vftNK-000K6L-2W for pgsql-hackers@lists.postgresql.org; Wed, 14 Jan 2026 05:25:00 +0000 Received: by mail-wr1-x42f.google.com with SMTP id ffacd0b85a97d-432da746749so2462374f8f.0 for ; Tue, 13 Jan 2026 21:24:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec.at; s=google; t=1768368298; x=1768973098; darn=lists.postgresql.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=7kt2aun/f4IYQreVY5Oi+pup2viIGe43mtwEDRIsP2s=; b=Q82boj6rQU0L+CIc+lLB+SoTjsVtqezzoaqgdsymhGc0kPajj1hEf9TvX7tTSoga4P uENvPkhjZGtP+kMY1xo8BJfDPeYI86j/WRYclEMTBXkGyA64qMz0qoAQllfRBvHLxvFM Sgap0ICJ/OnTnOniiFLJ0bVf+5+uCYuexXHg/yPob4nqHxdW2LAoNvgOOjFRHnTdHuXe p/svQCYXpYPr0xQXsGjifnUnicq5vhGScJFL8ZzT0EGztXk+wj2L+J80oe20XzjxLofL k9CLr6hgs44vEai69VXYpsYvDFuXxTGEaHyggiS9Max++nkZE2BHw2XbsmYm+E7JVACd 0Xpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768368298; x=1768973098; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=7kt2aun/f4IYQreVY5Oi+pup2viIGe43mtwEDRIsP2s=; b=L6MluSj/Be4NU3RigshrLvtl+2fBZcac3NIyPxXxuq3F73W5bR5RbKj05Js/E1+s6+ fch8S8w3HDfYkWhfRPlb1hxZoRJgLfgf2wNPI5dCu1EG5PbKq1OKpiAA6Yt5QZshRq8B 11+smh9QvBbufPsWLoRJRXRbnySQ2dYUWC36U3BbBdgdnJbJnOtsWkX67CcsydcsFYqn 5boWbEg5sc+yt+i2RpHg7qODVfW59fWe5qsPH12DZmhxpjQgfHGPa9Mj07yU7WAHb+LX pMgMocu5fUMB42GrDgeNsEirRNoO2fT9gWuaixMCLwG6dQlJ8398J58p0wyPnfQlwZkv oSCQ== X-Forwarded-Encrypted: i=1; AJvYcCUlmklfKX0HgivOQRoUOXcBz5RUX8p11fOuqJ87j2mB2L16N05B72DSEwlR7fhBVeNtfTCZ3YPHTU3WsVJn@lists.postgresql.org X-Gm-Message-State: AOJu0YzdCpmSGFgjdJgv8K3XZECwUNKcZBtPOFpaLQLZNTV16dksgzjT BAXSlyWUm1BJcV/IVG79an9cgrdN1Clem+DauXQ+5XbNRRxgMjsYIgWWsRFcz84EOcE= X-Gm-Gg: AY/fxX54osBsaaxgcAJAsc6eCMvofbRkBGSjDVXB28GRf9XnLg6X7x0RpucjWDFWOv0 Za4AzIi0sZ4BvSOQsxQ3SliNnOXz/M39FqFjtJJQ9qFpshKkzAwBEomDMQ618sMiUObcNH/mP/4 QLWB0N0WFAHTul20fpsQNdBMBuRWrqVlYtUajkbHPZY9LIohjSGd3Oxv4BkCnJFyAFmfq8UhWAQ g+lsKY6MjRptkQ7Xke7iAClvSobArf9/UVEsr4DhxkDA0u6DRAFKHrUrR1Yk0wfc4IfZrlVft3O vMBCEFrE3xDedkYVuVZBUR6eaVFjgogiY+dwhPsVgDAlrgR61pUkwjgzrQClaY/T9FgQACHFF95 KWNFFGCEx+YbKNFoMEm+cvQwoLuMvOlmaW0RUGKHLUMc2uHiCH+G8tzWgAfuiPkWrb8CODBWPbx Fiy1Ovcu9k0SxYFvyyC7ltDtFkva0k4g8gJTvlZXvn X-Received: by 2002:a05:600c:500d:b0:47d:3ffb:16c9 with SMTP id 5b1f17b1804b1-47ee33917d1mr11736285e9.23.1768368297951; Tue, 13 Jan 2026 21:24:57 -0800 (PST) Received: from laurenz.albe-K4N0CV00F97414D ([46.151.204.202]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-47ee5910fc2sm8621845e9.13.2026.01.13.21.24.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Jan 2026 21:24:57 -0800 (PST) Message-ID: <335f47af32e4042f9266c2b31d6ebc1aa0c22505.camel@cybertec.at> Subject: Re: oid2name : add objects file path From: Laurenz Albe To: David Bidoc , Michael Paquier Cc: Guillaume Lelarge , pgsql-hackers@lists.postgresql.org Date: Wed, 14 Jan 2026 06:24:56 +0100 In-Reply-To: References: <907f85f4-ca62-438e-9dcc-33d551d29969@app.fastmail.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.58.2 (3.58.2-1.fc43) MIME-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Mon, 2025-12-15 at 15:30 +0100, David Bidoc wrote: > I attached the rebased and updated patch. That patch looks good to me, and I think that is a useful addition. If you want to display the path of databases as well, as you tried to do in the original patch, I think the way to go would be to write a new SQL function pg_database_filepath() similar to pg_relation_filepath(). That shouldn't be too hard - would you want to try that? Other than that, you could try to propose a commit message and prepare your patch with git format-patch -v5 -1 -o /mypatches HEAD after committing it to your branch. That would make the committer's work easier. Yours, Laurenz Albe