diff options
| author | Noah Misch | 2017-03-12 23:35:31 +0000 |
|---|---|---|
| committer | Noah Misch | 2017-03-12 23:36:06 +0000 |
| commit | 4b2669ada6cb03c08eba21013321c8b2b412eaa1 (patch) | |
| tree | 944af4ffefdf06e3e1b300d53cd0ad136871a433 /doc/src | |
| parent | 166dfb3a903eee25637b846a87a4a63c67d5e796 (diff) | |
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 'doc/src')
0 files changed, 0 insertions, 0 deletions
