Use separate SQLSTATE codes for file not found/file exists, rather than

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 1de9615a58c0147c447f6debf20ed25390884412
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2003-08-26T21:15:27Z
Releases: 7.4.1
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

PathChange+/−
src/backend/utils/error/elog.c modified +6 −6
src/include/utils/errcodes.h modified +3 −1