Correct the documentation for work_mem - Mailing list pgsql-hackers

From Imseih (AWS), Sami
Subject Correct the documentation for work_mem
Date
Msg-id 66590882-F48C-4A25-83E3-73792CF8C51F@amazon.com
Whole thread Raw
Responses Re: Correct the documentation for work_mem
List pgsql-hackers

Hi,

 

I recently noticed the following in the work_mem [1] documentation:

 

“Note that for a complex query, several sort or hash operations might be running in parallel;”

 

The use of “parallel” here is misleading as this has nothing to do with parallel query, but

rather several operations in a plan running simultaneously.

 

The use of parallel in this doc predates parallel query support, which explains the usage.

 

I suggest a small doc fix:

 

“Note that for a complex query, several sort or hash operations might be running simultaneously;”

 

This should also be backpatched to all supported versions docs.

 

Thoughts?

 

Regards,

 

Sami Imseih

Amazon Web Services (AWS)

 

1. https://www.postgresql.org/docs/current/runtime-config-resource.html

 

 

 

 

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Commitfest 2023-03 starting tomorrow!
Next
From: Robert Haas
Date:
Subject: Re: Minor code de-duplication in fe-connect.c