forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit25d1ef1
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 parent9eecea7 commit25d1ef1
1 file changed
+5
-1
lines changedLines changed: 5 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
921 | 921 |
| |
922 | 922 |
| |
923 | 923 |
| |
924 |
| - | |
| 924 | + | |
| 925 | + | |
| 926 | + | |
| 927 | + | |
| 928 | + | |
925 | 929 |
| |
926 | 930 |
| |
927 | 931 |
| |
|
0 commit comments
Comments
(0)