aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/funcs.source
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2001-01-22 23:28:52 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2001-01-22 23:28:52 +0000
commite9c936ff38da738d1fd68525eee9c7c1f0c558dc (patch)
tree0f20d770bb2d410b2f2fd360475b8690591d9e44 /src/tutorial/funcs.source
parent60b282fd260f4c7fa42af438a555b3df7dd7dd47 (diff)
downloadpostgresql-e9c936ff38da738d1fd68525eee9c7c1f0c558dc.tar.gz
postgresql-e9c936ff38da738d1fd68525eee9c7c1f0c558dc.zip
Remove rangechecks on errno; just call strerror unconditionally. This
eliminates a raft of portability issues, including whether sys_nerr exists, whether the platform has any valid negative errnos, etc. The downside is minimal: errno shouldn't ever contain an invalid value anyway, and if it does, reasonably modern versions of strerror will not choke. This rangecheck idea seemed good at the time, but it's clearly a net loss, and I apologize to all concerned for having ever put it in.
Diffstat (limited to 'src/tutorial/funcs.source')
0 files changed, 0 insertions, 0 deletions