aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial
diff options
context:
space:
mode:
authorNoah Misch <noah@leadboat.com>2017-03-12 19:35:31 -0400
committerNoah Misch <noah@leadboat.com>2017-03-12 19:35:31 -0400
commit944a026b4ec252667f275768ba4dcd53ae3bb07e (patch)
tree36c5c6d3c8710cd7f288666b17d41bd68e5600c9 /src/tutorial
parent2fd26b23b662dcb0cf649e983a58581cb911fc4b (diff)
downloadpostgresql-944a026b4ec252667f275768ba4dcd53ae3bb07e.tar.gz
postgresql-944a026b4ec252667f275768ba4dcd53ae3bb07e.zip
Fix pg_file_write() error handling.
Detect fclose() failures; given "ln -s /dev/full $PGDATA/devfull", "pg_file_write('devfull', 'x', true)" now fails as it should. Don't leak a stream when fwrite() fails. Remove a born-ineffective test that aimed to skip zero-length writes. Back-patch to 9.2 (all supported versions).
Diffstat (limited to 'src/tutorial')
0 files changed, 0 insertions, 0 deletions