Use separate SQLSTATE codes for file not found/file exists, rather than
Tom Lane <tgl@sss.pgh.pa.us>
Use separate SQLSTATE codes for file not found/file exists, rather than lumping them into ERRCODE_UNDEFINED_OBJECT/ERRCODE_DUPLICATE_OBJECT. This seems reasonable since 'object' was meant to refer to 'object in the database' and a file is outside the database. Per request from Dave Cramer.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/error/elog.c | modified | +6 −6 |
| src/include/utils/errcodes.h | modified | +3 −1 |