diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2021-06-12 13:29:24 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2021-06-12 13:29:24 -0400 |
commit | f479ea94bd24e61199fab3596a4a3e7241c6c28c (patch) | |
tree | 806bc372bb6469c9fbbe3c998e18e36e376aba29 /src/test/perl/PostgresNode.pm | |
parent | 8b5055812cadd00a86a438fc0d8bafeba3c4d874 (diff) | |
download | postgresql-f479ea94bd24e61199fab3596a4a3e7241c6c28c.tar.gz postgresql-f479ea94bd24e61199fab3596a4a3e7241c6c28c.zip |
Ensure pg_filenode_relation(0, 0) returns NULL.
Previously, a zero value for the relfilenode resulted in
a confusing error message about "unexpected duplicate".
This function returns NULL for other invalid relfilenode
values, so zero should be treated likewise.
It's been like this all along, so back-patch to all supported
branches.
Justin Pryzby
Discussion: https://postgr.es/m/20210612023324.GT16435@telsasoft.com
Diffstat (limited to 'src/test/perl/PostgresNode.pm')
0 files changed, 0 insertions, 0 deletions