pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Reproduce debug_query_string==NULL on parallel workers.
4+ messages / 1 participants
[nested] [flat]

* pgsql: Reproduce debug_query_string==NULL on parallel workers.
@ 2020-10-31 15:52  Noah Misch <noah@leadboat.com>
  0 siblings, 0 replies; 4+ messages in thread

From: Noah Misch @ 2020-10-31 15:52 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Reproduce debug_query_string==NULL on parallel workers.

Certain background workers initiate parallel queries while
debug_query_string==NULL, at which point they attempted strlen(NULL) and
died to SIGSEGV.  Older debug_query_string observers allow NULL, so do
likewise in these newer ones.  Back-patch to v11, where commit
7de4a1bcc56f494acbd0d6e70781df877dc8ecb5 introduced the first of these.

Discussion: https://postgr.es/m/20201014022636.GA1962668@rfd.leadboat.com

Branch
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/741b84e9f74726fbc97f63ddb46ab5675de98bdf

Modified Files
--------------
src/backend/access/nbtree/nbtsort.c | 25 +++++++++++++++++--------
1 file changed, 17 insertions(+), 8 deletions(-)



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

* pgsql: Reproduce debug_query_string==NULL on parallel workers.
@ 2020-10-31 15:52  Noah Misch <noah@leadboat.com>
  0 siblings, 0 replies; 4+ messages in thread

From: Noah Misch @ 2020-10-31 15:52 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Reproduce debug_query_string==NULL on parallel workers.

Certain background workers initiate parallel queries while
debug_query_string==NULL, at which point they attempted strlen(NULL) and
died to SIGSEGV.  Older debug_query_string observers allow NULL, so do
likewise in these newer ones.  Back-patch to v11, where commit
7de4a1bcc56f494acbd0d6e70781df877dc8ecb5 introduced the first of these.

Discussion: https://postgr.es/m/20201014022636.GA1962668@rfd.leadboat.com

Branch
------
master

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

Modified Files
--------------
src/backend/access/heap/vacuumlazy.c | 28 +++++++++++++++++++---------
src/backend/access/nbtree/nbtsort.c  | 25 +++++++++++++++++--------
2 files changed, 36 insertions(+), 17 deletions(-)



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

* pgsql: Reproduce debug_query_string==NULL on parallel workers.
@ 2020-10-31 15:52  Noah Misch <noah@leadboat.com>
  0 siblings, 0 replies; 4+ messages in thread

From: Noah Misch @ 2020-10-31 15:52 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Reproduce debug_query_string==NULL on parallel workers.

Certain background workers initiate parallel queries while
debug_query_string==NULL, at which point they attempted strlen(NULL) and
died to SIGSEGV.  Older debug_query_string observers allow NULL, so do
likewise in these newer ones.  Back-patch to v11, where commit
7de4a1bcc56f494acbd0d6e70781df877dc8ecb5 introduced the first of these.

Discussion: https://postgr.es/m/20201014022636.GA1962668@rfd.leadboat.com

Branch
------
REL_13_STABLE

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

Modified Files
--------------
src/backend/access/heap/vacuumlazy.c | 28 +++++++++++++++++++---------
src/backend/access/nbtree/nbtsort.c  | 25 +++++++++++++++++--------
2 files changed, 36 insertions(+), 17 deletions(-)



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

* pgsql: Reproduce debug_query_string==NULL on parallel workers.
@ 2020-10-31 15:52  Noah Misch <noah@leadboat.com>
  0 siblings, 0 replies; 4+ messages in thread

From: Noah Misch @ 2020-10-31 15:52 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Reproduce debug_query_string==NULL on parallel workers.

Certain background workers initiate parallel queries while
debug_query_string==NULL, at which point they attempted strlen(NULL) and
died to SIGSEGV.  Older debug_query_string observers allow NULL, so do
likewise in these newer ones.  Back-patch to v11, where commit
7de4a1bcc56f494acbd0d6e70781df877dc8ecb5 introduced the first of these.

Discussion: https://postgr.es/m/20201014022636.GA1962668@rfd.leadboat.com

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/0454666758209de2bdd96d5f0b9cf7aa055e4bda

Modified Files
--------------
src/backend/access/nbtree/nbtsort.c | 25 +++++++++++++++++--------
1 file changed, 17 insertions(+), 8 deletions(-)



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


end of thread, other threads:[~2020-10-31 15:52 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-10-31 15:52 pgsql: Reproduce debug_query_string==NULL on parallel workers. Noah Misch <noah@leadboat.com>
2020-10-31 15:52 pgsql: Reproduce debug_query_string==NULL on parallel workers. Noah Misch <noah@leadboat.com>
2020-10-31 15:52 pgsql: Reproduce debug_query_string==NULL on parallel workers. Noah Misch <noah@leadboat.com>
2020-10-31 15:52 pgsql: Reproduce debug_query_string==NULL on parallel workers. 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