]> granicus.if.org Git - postgresql/commit
Use separate SQLSTATE codes for file not found/file exists, rather than
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 26 Aug 2003 21:15:27 +0000 (21:15 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 26 Aug 2003 21:15:27 +0000 (21:15 +0000)
commit1de9615a58c0147c447f6debf20ed25390884412
treed3e3e51a319892daa04a7e60112a7e89e4af1bcf
parent0b511f07e3db45059e1e5a3ac7acc74ca0c37028
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.
src/backend/utils/error/elog.c
src/include/utils/errcodes.h