pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Fix some BufFileRead() error reporting
4+ messages / 1 participants
[nested] [flat]

* pgsql: Fix some BufFileRead() error reporting
@ 2023-01-16 09:08 Peter Eisentraut <peter@eisentraut.org>
  0 siblings, 0 replies; 4+ messages in thread

From: Peter Eisentraut @ 2023-01-16 09:08 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Fix some BufFileRead() error reporting

Remove "%m" from error messages where errno would be bogus.  Add short
read byte counts where appropriate.

This is equivalent to what was done in
7897e3bb902c557412645b82120f4d95f7474906, but some code was apparently
developed concurrently to that and not updated accordingly.

Reviewed-by: Amit Kapila <amit.kapila16@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/f3501945-c591-8cc3-5ef0-b72a2e0eaa9c@enterprisedb.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/1561612e3bf3264c31618b9455d0c1003b9271ec

Modified Files
--------------
src/backend/backup/backup_manifest.c     |  3 ++-
src/backend/replication/logical/worker.c | 33 ++++++++++++++++++--------------
2 files changed, 21 insertions(+), 15 deletions(-)



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* pgsql: Fix some BufFileRead() error reporting
@ 2023-01-16 09:08 Peter Eisentraut <peter@eisentraut.org>
  0 siblings, 0 replies; 4+ messages in thread

From: Peter Eisentraut @ 2023-01-16 09:08 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Fix some BufFileRead() error reporting

Remove "%m" from error messages where errno would be bogus.  Add short
read byte counts where appropriate.

This is equivalent to what was done in
7897e3bb902c557412645b82120f4d95f7474906, but some code was apparently
developed concurrently to that and not updated accordingly.

Reviewed-by: Amit Kapila <amit.kapila16@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/f3501945-c591-8cc3-5ef0-b72a2e0eaa9c@enterprisedb.com

Branch
------
REL_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/ac01fa647f84e99f092eacbb74fe1744d4bcdd8b

Modified Files
--------------
src/backend/backup/backup_manifest.c     |  3 ++-
src/backend/replication/logical/worker.c | 33 ++++++++++++++++++--------------
2 files changed, 21 insertions(+), 15 deletions(-)



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* pgsql: Fix some BufFileRead() error reporting
@ 2023-01-16 09:08 Peter Eisentraut <peter@eisentraut.org>
  0 siblings, 0 replies; 4+ messages in thread

From: Peter Eisentraut @ 2023-01-16 09:08 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Fix some BufFileRead() error reporting

Remove "%m" from error messages where errno would be bogus.  Add short
read byte counts where appropriate.

This is equivalent to what was done in
7897e3bb902c557412645b82120f4d95f7474906, but some code was apparently
developed concurrently to that and not updated accordingly.

Reviewed-by: Amit Kapila <amit.kapila16@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/f3501945-c591-8cc3-5ef0-b72a2e0eaa9c@enterprisedb.com

Branch
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/f463335e1f29b8f5b47d8b606d10cdf76817970f

Modified Files
--------------
src/backend/replication/backup_manifest.c |  3 ++-
src/backend/replication/logical/worker.c  | 33 ++++++++++++++++++-------------
2 files changed, 21 insertions(+), 15 deletions(-)



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* pgsql: Fix some BufFileRead() error reporting
@ 2023-01-16 09:08 Peter Eisentraut <peter@eisentraut.org>
  0 siblings, 0 replies; 4+ messages in thread

From: Peter Eisentraut @ 2023-01-16 09:08 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Fix some BufFileRead() error reporting

Remove "%m" from error messages where errno would be bogus.  Add short
read byte counts where appropriate.

This is equivalent to what was done in
7897e3bb902c557412645b82120f4d95f7474906, but some code was apparently
developed concurrently to that and not updated accordingly.

Reviewed-by: Amit Kapila <amit.kapila16@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/f3501945-c591-8cc3-5ef0-b72a2e0eaa9c@enterprisedb.com

Branch
------
REL_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/cf74b6eadb9d8fcfd51a99e9cc6b04d019e36b12

Modified Files
--------------
src/backend/replication/backup_manifest.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)



^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2023-01-16 09:08 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2023-01-16 09:08 pgsql: Fix some BufFileRead() error reporting Peter Eisentraut <peter@eisentraut.org>
2023-01-16 09:08 pgsql: Fix some BufFileRead() error reporting Peter Eisentraut <peter@eisentraut.org>
2023-01-16 09:08 pgsql: Fix some BufFileRead() error reporting Peter Eisentraut <peter@eisentraut.org>
2023-01-16 09:08 pgsql: Fix some BufFileRead() error reporting Peter Eisentraut <peter@eisentraut.org>

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