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 | c1ffbbcbca93b3544c0b57b7ab063497794cb8ff (patch) | |
tree | 75e160fdc0fb92c84ea952792bfd4505f34ac15c /src/test/perl/TestLib.pm | |
parent | dee7ad20d018354a75f26c73ba26b8487b98e642 (diff) |
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/TestLib.pm')
0 files changed, 0 insertions, 0 deletions