Re: Report search_path value back to the client.
Tomas Vondra <tomas@vondra.me>
From: Tomas Vondra <tomas@vondra.me>
To: Tomas Vondra <tomas.vondra@enterprisedb.com>,
Jelte Fennema-Nio <me@jeltef.nl>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Alexey Klyukin <alexk@hintbits.com>,
Alexander Kukushkin <cyberdemn@gmail.com>,
PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2024-08-14T16:22:37Z
Lists: pgsql-hackers
Attachments
- v20240814-0001-Mark-search_path-as-GUC_REPORT.patch (text/x-patch) patch v20240814-0001
Here's the patch with a somewhat expanded / improved commit message. Jelte, can you take a look there's no silly mistake? As mentioned previously, I plan to push this, so that if the protocol improvements from [1] don't land in PG18 we have at least something. I did take a brief look at the other thread, but it's hard to predict. [1] https://www.postgresql.org/message-id/CAGECzQTg2hcmb5GaU53uuWcdC7gCNJFLL6mnW0WNhWHgq9UTgw%40mail.gmail.com regards -- Tomas Vondra
Commits
-
Document that search_path is reported by the server
- 0d06a7eac4b2 18.0 landed
-
Mark search_path as GUC_REPORT
- 28a1121fd912 18.0 landed
-
Avoid spamming the client with multiple ParameterStatus messages.
- 2432b1a04087 14.0 cited
-
Mark application_name as GUC_REPORT so that the value will be reported back
- 59ed94ad0c9f 9.0.0 cited