forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit1250aad
committed
Ensure pg_filenode_relation(0, 0) returns NULL.
Previously, a zero value for the relfilenode resulted ina confusing error message about "unexpected duplicate".This function returns NULL for other invalid relfilenodevalues, so zero should be treated likewise.It's been like this all along, so back-patch to all supportedbranches.Justin PryzbyDiscussion:https://postgr.es/m/20210612023324.GT16435@telsasoft.com1 parentfe6a20c commit1250aad
1 file changed
+5
-1
lines changedLines changed: 5 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
903 | 903 |
| |
904 | 904 |
| |
905 | 905 |
| |
906 |
| - | |
| 906 | + | |
| 907 | + | |
| 908 | + | |
| 909 | + | |
| 910 | + | |
907 | 911 |
| |
908 | 912 |
| |
909 | 913 |
| |
|
0 commit comments
Comments
(0)