aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/funcs.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2021-06-12 13:29:24 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2021-06-12 13:29:24 -0400
commit1250aad42520fd5a3db68d6381997b7e1f9bb4aa (patch)
tree9d6bcea75ba29ee8da3e8f78c1a8be6f9cfd9674 /src/tutorial/funcs.c
parentfe6a20ce54cbbb6fcfe9f6675d563af836ae799a (diff)
downloadpostgresql-1250aad42520fd5a3db68d6381997b7e1f9bb4aa.tar.gz
postgresql-1250aad42520fd5a3db68d6381997b7e1f9bb4aa.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/tutorial/funcs.c')
0 files changed, 0 insertions, 0 deletions