aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeBitmapAnd.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2011-09-20 13:23:40 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2011-09-20 13:23:40 -0400
commit37d4fd2b9d331076292201ab988fe54f09640850 (patch)
tree8f134783749663a954270f02ad5d5bab64b258d6 /src/backend/executor/nodeBitmapAnd.c
parentfaf5cee7f0189beba206a5d96c0abd8e4382b844 (diff)
downloadpostgresql-37d4fd2b9d331076292201ab988fe54f09640850.tar.gz
postgresql-37d4fd2b9d331076292201ab988fe54f09640850.zip
Improve reporting of newlocale() failures in CREATE COLLATION.
The standardized errno code for "no such locale" failures is ENOENT, which we were just reporting at face value, viz "No such file or directory". Per gripe from Thom Brown, this might confuse users, so add an errdetail message to clarify what it means. Also, report newlocale() failures as ERRCODE_INVALID_PARAMETER_VALUE rather than using errcode_for_file_access(), since newlocale()'s errno values aren't necessarily tied directly to file access failures.
Diffstat (limited to 'src/backend/executor/nodeBitmapAnd.c')
0 files changed, 0 insertions, 0 deletions