pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Flush logical mapping files with fd opened for read/write at che 7+ messages / 1 participants [nested] [flat]
* pgsql: Flush logical mapping files with fd opened for read/write at che @ 2019-10-09 04:32 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 7+ messages in thread From: Michael Paquier @ 2019-10-09 04:32 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Flush logical mapping files with fd opened for read/write at checkpoint The file descriptor was opened with read-only to fsync a regular file, which would cause EBADFD errors on some platforms. This is similar to the recent fix done by a586cc4b (which was broken by me with 82a5649), except that I noticed this issue while monitoring the backend code for similar mistakes. Backpatch to 9.4, as this has been introduced since logical decoding exists as of b89e151. Author: Michael Paquier Reviewed-by: Andres Freund Discussion: https://postgr.es/m/20191006045548.GA14532@paquier.xyz Backpatch-through: 9.4 Branch ------ REL9_4_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/59800f7cef558da424a98ee4b9c74a0dd2758ea5 Modified Files -------------- src/backend/access/heap/rewriteheap.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Flush logical mapping files with fd opened for read/write at che @ 2019-10-09 04:32 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 7+ messages in thread From: Michael Paquier @ 2019-10-09 04:32 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Flush logical mapping files with fd opened for read/write at checkpoint The file descriptor was opened with read-only to fsync a regular file, which would cause EBADFD errors on some platforms. This is similar to the recent fix done by a586cc4b (which was broken by me with 82a5649), except that I noticed this issue while monitoring the backend code for similar mistakes. Backpatch to 9.4, as this has been introduced since logical decoding exists as of b89e151. Author: Michael Paquier Reviewed-by: Andres Freund Discussion: https://postgr.es/m/20191006045548.GA14532@paquier.xyz Backpatch-through: 9.4 Branch ------ REL9_6_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/4e7a8874a15a9bcfe50caf7d39141796a7783507 Modified Files -------------- src/backend/access/heap/rewriteheap.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Flush logical mapping files with fd opened for read/write at che @ 2019-10-09 04:32 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 7+ messages in thread From: Michael Paquier @ 2019-10-09 04:32 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Flush logical mapping files with fd opened for read/write at checkpoint The file descriptor was opened with read-only to fsync a regular file, which would cause EBADFD errors on some platforms. This is similar to the recent fix done by a586cc4b (which was broken by me with 82a5649), except that I noticed this issue while monitoring the backend code for similar mistakes. Backpatch to 9.4, as this has been introduced since logical decoding exists as of b89e151. Author: Michael Paquier Reviewed-by: Andres Freund Discussion: https://postgr.es/m/20191006045548.GA14532@paquier.xyz Backpatch-through: 9.4 Branch ------ REL_11_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/e34358c436c6bf4e75beb6e9f79f9a207c0b2ed5 Modified Files -------------- src/backend/access/heap/rewriteheap.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Flush logical mapping files with fd opened for read/write at che @ 2019-10-09 04:32 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 7+ messages in thread From: Michael Paquier @ 2019-10-09 04:32 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Flush logical mapping files with fd opened for read/write at checkpoint The file descriptor was opened with read-only to fsync a regular file, which would cause EBADFD errors on some platforms. This is similar to the recent fix done by a586cc4b (which was broken by me with 82a5649), except that I noticed this issue while monitoring the backend code for similar mistakes. Backpatch to 9.4, as this has been introduced since logical decoding exists as of b89e151. Author: Michael Paquier Reviewed-by: Andres Freund Discussion: https://postgr.es/m/20191006045548.GA14532@paquier.xyz Backpatch-through: 9.4 Branch ------ REL9_5_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/c50f95272e5c058bfec31dc84f0cd115557178b3 Modified Files -------------- src/backend/access/heap/rewriteheap.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Flush logical mapping files with fd opened for read/write at che @ 2019-10-09 04:32 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 7+ messages in thread From: Michael Paquier @ 2019-10-09 04:32 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Flush logical mapping files with fd opened for read/write at checkpoint The file descriptor was opened with read-only to fsync a regular file, which would cause EBADFD errors on some platforms. This is similar to the recent fix done by a586cc4b (which was broken by me with 82a5649), except that I noticed this issue while monitoring the backend code for similar mistakes. Backpatch to 9.4, as this has been introduced since logical decoding exists as of b89e151. Author: Michael Paquier Reviewed-by: Andres Freund Discussion: https://postgr.es/m/20191006045548.GA14532@paquier.xyz Backpatch-through: 9.4 Branch ------ REL_12_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/07c314968712a2cb1818f6d884c9818f95dee02e Modified Files -------------- src/backend/access/heap/rewriteheap.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Flush logical mapping files with fd opened for read/write at che @ 2019-10-09 04:32 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 7+ messages in thread From: Michael Paquier @ 2019-10-09 04:32 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Flush logical mapping files with fd opened for read/write at checkpoint The file descriptor was opened with read-only to fsync a regular file, which would cause EBADFD errors on some platforms. This is similar to the recent fix done by a586cc4b (which was broken by me with 82a5649), except that I noticed this issue while monitoring the backend code for similar mistakes. Backpatch to 9.4, as this has been introduced since logical decoding exists as of b89e151. Author: Michael Paquier Reviewed-by: Andres Freund Discussion: https://postgr.es/m/20191006045548.GA14532@paquier.xyz Backpatch-through: 9.4 Branch ------ REL_10_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/fbfc835b463af02c70ba19eae8897780ee807055 Modified Files -------------- src/backend/access/heap/rewriteheap.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Flush logical mapping files with fd opened for read/write at che @ 2019-10-09 04:32 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 7+ messages in thread From: Michael Paquier @ 2019-10-09 04:32 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Flush logical mapping files with fd opened for read/write at checkpoint The file descriptor was opened with read-only to fsync a regular file, which would cause EBADFD errors on some platforms. This is similar to the recent fix done by a586cc4b (which was broken by me with 82a5649), except that I noticed this issue while monitoring the backend code for similar mistakes. Backpatch to 9.4, as this has been introduced since logical decoding exists as of b89e151. Author: Michael Paquier Reviewed-by: Andres Freund Discussion: https://postgr.es/m/20191006045548.GA14532@paquier.xyz Backpatch-through: 9.4 Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/b8e19b932a99a7eb5a3bce84e74b0b7c093d0981 Modified Files -------------- src/backend/access/heap/rewriteheap.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
end of thread, other threads:[~2019-10-09 04:32 UTC | newest] Thread overview: 7+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2019-10-09 04:32 pgsql: Flush logical mapping files with fd opened for read/write at che Michael Paquier <michael@paquier.xyz> 2019-10-09 04:32 pgsql: Flush logical mapping files with fd opened for read/write at che Michael Paquier <michael@paquier.xyz> 2019-10-09 04:32 pgsql: Flush logical mapping files with fd opened for read/write at che Michael Paquier <michael@paquier.xyz> 2019-10-09 04:32 pgsql: Flush logical mapping files with fd opened for read/write at che Michael Paquier <michael@paquier.xyz> 2019-10-09 04:32 pgsql: Flush logical mapping files with fd opened for read/write at che Michael Paquier <michael@paquier.xyz> 2019-10-09 04:32 pgsql: Flush logical mapping files with fd opened for read/write at che Michael Paquier <michael@paquier.xyz> 2019-10-09 04:32 pgsql: Flush logical mapping files with fd opened for read/write at che Michael Paquier <michael@paquier.xyz>
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