git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 4e72a8e) | patch
Better error messages for short reads/writes in SLRU
Tue, 3 Sep 2019 06:26:55 +0000 (08:26 +0200)
Tue, 3 Sep 2019 06:30:21 +0000 (08:30 +0200)
commit 396e4afdbcbfd3398415f1a0a29668d6a24a2ddd
Better error messages for short reads/writes in SLRU

This avoids getting a

Could not read from file ...: Success.

for a short read or write (since errno is not set in that case).
Instead, report a more specific error messages.

Reviewed-by: Michael Paquier <michael@paquier.xyz>
Discussion: https://www.postgresql.org/message-id/flat/5de61b6b-8be9-7771-0048-860328efe027%402ndquadrant.com
src/backend/access/transam/slru.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /