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 | 26a0535334ce31b12baf146ad0860c10c4947913 (patch) | |
tree | 4d8fd3f5d1c9ee2710d80ceb17188762048b4eb2 /src/backend/commands/createas.c | |
parent | 4745c119e01a09f927cc67cecab68c24e21b622c (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/backend/commands/createas.c')
0 files changed, 0 insertions, 0 deletions