pg.ddx.io pgsql-committers@postgresql.org mailing list archive
help / color / mirror / Atom feedpgsql: Fix pg_file_write() error handling.
6+ messages / 1 participants
[nested] [flat]
* pgsql: Fix pg_file_write() error handling.
@ 2017-03-12 23:41 Noah Misch <noah@leadboat.com>
0 siblings, 0 replies; 6+ messages in thread
From: Noah Misch @ 2017-03-12 23:41 UTC (permalink / raw)
To: pgsql-committers
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).
Branch
------
REL9_5_STABLE
Details
-------
http://git.postgresql.org/pg/commitdiff/d0e5ac736df074d8334fa5c1e471cbdadfd631a8
Modified Files
--------------
contrib/adminpack/adminpack.c | 19 +++++++------------
1 file changed, 7 insertions(+), 12 deletions(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Fix pg_file_write() error handling.
@ 2017-03-12 23:41 Noah Misch <noah@leadboat.com>
0 siblings, 0 replies; 6+ messages in thread
From: Noah Misch @ 2017-03-12 23:41 UTC (permalink / raw)
To: pgsql-committers
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).
Branch
------
REL9_4_STABLE
Details
-------
http://git.postgresql.org/pg/commitdiff/4b2669ada6cb03c08eba21013321c8b2b412eaa1
Modified Files
--------------
contrib/adminpack/adminpack.c | 19 +++++++------------
1 file changed, 7 insertions(+), 12 deletions(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Fix pg_file_write() error handling.
@ 2017-03-12 23:41 Noah Misch <noah@leadboat.com>
0 siblings, 0 replies; 6+ messages in thread
From: Noah Misch @ 2017-03-12 23:41 UTC (permalink / raw)
To: pgsql-committers
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).
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/944a026b4ec252667f275768ba4dcd53ae3bb07e
Modified Files
--------------
contrib/adminpack/adminpack.c | 19 +++++++------------
1 file changed, 7 insertions(+), 12 deletions(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Fix pg_file_write() error handling.
@ 2017-03-12 23:41 Noah Misch <noah@leadboat.com>
0 siblings, 0 replies; 6+ messages in thread
From: Noah Misch @ 2017-03-12 23:41 UTC (permalink / raw)
To: pgsql-committers
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).
Branch
------
REL9_3_STABLE
Details
-------
http://git.postgresql.org/pg/commitdiff/e03c6d93bfabc6606a8778b253ae31f2c3ee849d
Modified Files
--------------
contrib/adminpack/adminpack.c | 19 +++++++------------
1 file changed, 7 insertions(+), 12 deletions(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Fix pg_file_write() error handling.
@ 2017-03-12 23:41 Noah Misch <noah@leadboat.com>
0 siblings, 0 replies; 6+ messages in thread
From: Noah Misch @ 2017-03-12 23:41 UTC (permalink / raw)
To: pgsql-committers
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).
Branch
------
REL9_6_STABLE
Details
-------
http://git.postgresql.org/pg/commitdiff/08c6d42c8c63c62aeaaf71cd6375baef798c5924
Modified Files
--------------
contrib/adminpack/adminpack.c | 19 +++++++------------
1 file changed, 7 insertions(+), 12 deletions(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Fix pg_file_write() error handling.
@ 2017-03-12 23:41 Noah Misch <noah@leadboat.com>
0 siblings, 0 replies; 6+ messages in thread
From: Noah Misch @ 2017-03-12 23:41 UTC (permalink / raw)
To: pgsql-committers
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).
Branch
------
REL9_2_STABLE
Details
-------
http://git.postgresql.org/pg/commitdiff/0276da5eb31e9e6bf2d038ec5712b0b378904a70
Modified Files
--------------
contrib/adminpack/adminpack.c | 19 +++++++------------
1 file changed, 7 insertions(+), 12 deletions(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2017-03-12 23:41 UTC | newest]
Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2017-03-12 23:41 pgsql: Fix pg_file_write() error handling. Noah Misch <noah@leadboat.com>
2017-03-12 23:41 pgsql: Fix pg_file_write() error handling. Noah Misch <noah@leadboat.com>
2017-03-12 23:41 pgsql: Fix pg_file_write() error handling. Noah Misch <noah@leadboat.com>
2017-03-12 23:41 pgsql: Fix pg_file_write() error handling. Noah Misch <noah@leadboat.com>
2017-03-12 23:41 pgsql: Fix pg_file_write() error handling. Noah Misch <noah@leadboat.com>
2017-03-12 23:41 pgsql: Fix pg_file_write() error handling. Noah Misch <noah@leadboat.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox