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 1vnjOi-00AshN-1c for pgsql-hackers@arkaria.postgresql.org; Wed, 04 Feb 2026 20:22:48 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vnjOh-00DQgq-20 for pgsql-hackers@arkaria.postgresql.org; Wed, 04 Feb 2026 20:22:47 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vnjOh-00DQgV-14 for pgsql-hackers@lists.postgresql.org; Wed, 04 Feb 2026 20:22:47 +0000 Received: from mail-pl1-x634.google.com ([2607:f8b0:4864:20::634]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1vnjOe-000000015Cf-33tG for pgsql-hackers@lists.postgresql.org; Wed, 04 Feb 2026 20:22:46 +0000 Received: by mail-pl1-x634.google.com with SMTP id d9443c01a7336-2a8a7269547so1318965ad.0 for ; Wed, 04 Feb 2026 12:22:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1770236563; x=1770841363; darn=lists.postgresql.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=4OMMTh8ABw+A6CoKJFK2RsR3O2z5r4UkBGk+QLKtn60=; b=jf51pmEj8dMovybwVfPyRnf/NmU7cMk8G6p2LMh6sJWczp7h0BDn4Zh/OYEClym6Fy K9+QGH5fpsadPMm5lLnw4LV+WskEWNrDwfSUdIH7AafZNVm6Jn5KyObBu66iKEqSvzfS uORtCnCyeJG2FnDNZ2tksDyzKw2/7msKrerrf3Umv1owqPERCjAMc9/Gx8/GH5tfh3DT jqVxMuGXx/3E/h4CXEqxx+gv4YRrHGzph7FZopDQu/WUqsHRdHcYLZPQyx9Yp62HmwB4 5oZYXaiScadXJk+mtqgEVVV56+JfCplsreeOP3zhQpBoi15G3f2OhG728VQ6b/M2nGjL qi6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770236563; x=1770841363; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4OMMTh8ABw+A6CoKJFK2RsR3O2z5r4UkBGk+QLKtn60=; b=cjEbBld9md9jVbr5hRZPjhlucyzFw6aCdQH/six4lbpN1GC06tuVBp5HzsewqpfUen RDXBYLoc01ckPwPyEUFdYjEriMVohubd9W2mpuagC9dvgurZ8YOJUc7/mQdC32ctOg6X W1xL3wTbMSpkBX8dt+A3EoGw/8ur0/YYNmcukj+JDgsKIdX7c8F7/yeOvO7MrHbXnJAv W1vL2PRsnGt/G0g14wTmlRSYx9ETTlEROdUoAogqPPdRMJsbkufAPa79m6x/qiHHEgE5 RzPGJWa8t5weZXmcTDw/teDI8eUX0THUB8KYt5MWFgjPW5kijSFLtPMFDyCYKPXddw9m WYag== X-Forwarded-Encrypted: i=1; AJvYcCU2LoJ5NPjTD1PwCxGGNFD9ileK5bvxY1yM4ru2pLkK/4eu8U4yFDVEHx2tae2TJv9Q6JZ0Gr9u0Z9aIcqK@lists.postgresql.org X-Gm-Message-State: AOJu0Yy0XZaXIa+iF0OHfyof+WriWrFDjOi0GhqBBnXXbZ3GD8uCS3rf +76eRrtRxGLvMJMo4Vqi8thV2oCcEHzWfEyyn3mqKH8uqUPxgOMPonkI X-Gm-Gg: AZuq6aLz/ThchOTiyZD663qqShG9lM2FcPc/4qgHWPUZYZzZxMp0kljRHDGR0WXb6S9 q+kPsCB4rpkDF0vqe552RvOcfJwJexCd9TJZj6VSSm2QZkLL+5yTNn7ufQvu6Rysp16r1GjfybK 02Rlkrw0yhXTWS++EgiR8dX6SF+yMIRdHK6kRktFBxGy0pjALFE7AlTyRwDngEGdGiNUm6iZrJH HJDpfauSDRi77MD9C+ntqD0nEjbW/AWZQbQLAVuBeUl4R6gPo231Av5po/pLQBDNx/ggaj4H8kf 85/A5HT6/Qotgqas2EmhZlXKB65UuYVF/q9TZpJkwm1eXpmt284wy+fiNKo0Ftjp+xCRQ33KjQk 6rag2g75ZY+nku1uehasZqtcTyQjRNpFNkURERn9Igpk6FzRWpl4ccHZVkdn8GiuMKI5nUBij58 1bi6/H+cVS3wxTa8mLsdIENJ0tnYPkSwY= X-Received: by 2002:a17:902:dacb:b0:2a1:388c:ca63 with SMTP id d9443c01a7336-2a933e9d064mr42055875ad.31.1770236562957; Wed, 04 Feb 2026 12:22:42 -0800 (PST) Received: from ltdrgnflg2 (71-34-92-171.ptld.qwest.net. [71.34.92.171]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2a93394e3c5sm30312775ad.65.2026.02.04.12.22.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Feb 2026 12:22:42 -0800 (PST) Date: Wed, 4 Feb 2026 12:22:40 -0800 From: Mark Wong To: Laurenz Albe Cc: David Bidoc , Michael Paquier , Guillaume Lelarge , pgsql-hackers@lists.postgresql.org, Philip Alger Subject: Re: oid2name : add objects file path Message-ID: References: <907f85f4-ca62-438e-9dcc-33d551d29969@app.fastmail.com> <335f47af32e4042f9266c2b31d6ebc1aa0c22505.camel@cybertec.at> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <335f47af32e4042f9266c2b31d6ebc1aa0c22505.camel@cybertec.at> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Wed, Jan 14, 2026 at 06:24:56AM +0100, Laurenz Albe wrote: > 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. I took a look with Phil Alger and we just have a couple of cosmetic suggestions. * There is an extra period (.) added to the change in the documentation. * We would suggest using "Path" instead of "Filepath" in the column name. While "Filepath" more closely reflects the the function used, "Path" reads a little more smoothly, and text in existing documentation tends to only reads "path" instead of "file path" when referring to paths on the filesystem. Regards, Mark -- Mark Wong EDB https://enterprisedb.com