pgsql: Move CompareType to separate header file

2025-02-01 Thread Peter Eisentraut
Move CompareType to separate header file We'll want to make use of it in more places, and we'd prefer to not have to include all of primnodes.h everywhere. Author: Mark Dilger Reviewed-by: Peter Eisentraut Discussion: https://www.postgresql.org/message-id/flat/e72eaa49-354d-4c2e-8eb9-255197f55

pgsql: Mention jsonlog in description of logging_collector in GUC table

2025-02-01 Thread Michael Paquier
Mention jsonlog in description of logging_collector in GUC table logging_collector was only mentioning stderr and csvlog, and forgot about jsonlog. Oversight in dc686681e079, that has added support for jsonlog in log_destination. While on it, the description in the GUC table is tweaked to be mor

pgsql: Mention jsonlog in description of logging_collector in GUC table

2025-02-01 Thread Michael Paquier
Mention jsonlog in description of logging_collector in GUC table logging_collector was only mentioning stderr and csvlog, and forgot about jsonlog. Oversight in dc686681e079, that has added support for jsonlog in log_destination. While on it, the description in the GUC table is tweaked to be mor

pgsql: Mention jsonlog in description of logging_collector in GUC table

2025-02-01 Thread Michael Paquier
Mention jsonlog in description of logging_collector in GUC table logging_collector was only mentioning stderr and csvlog, and forgot about jsonlog. Oversight in dc686681e079, that has added support for jsonlog in log_destination. While on it, the description in the GUC table is tweaked to be mor

pgsql: Mention jsonlog in description of logging_collector in GUC table

2025-02-01 Thread Michael Paquier
Mention jsonlog in description of logging_collector in GUC table logging_collector was only mentioning stderr and csvlog, and forgot about jsonlog. Oversight in dc686681e079, that has added support for jsonlog in log_destination. While on it, the description in the GUC table is tweaked to be mor

pgsql: Mention jsonlog in description of logging_collector in GUC table

2025-02-01 Thread Michael Paquier
Mention jsonlog in description of logging_collector in GUC table logging_collector was only mentioning stderr and csvlog, and forgot about jsonlog. Oversight in dc686681e079, that has added support for jsonlog in log_destination. While on it, the description in the GUC table is tweaked to be mor

pgsql: Mention jsonlog in description of logging_collector in GUC table

2025-02-01 Thread Michael Paquier
Mention jsonlog in description of logging_collector in GUC table logging_collector was only mentioning stderr and csvlog, and forgot about jsonlog. Oversight in dc686681e079, that has added support for jsonlog in log_destination. While on it, the description in the GUC table is tweaked to be mor

pgsql: Add script to keep .editorconfig in sync with .gitattributes

2025-02-01 Thread Peter Eisentraut
Add script to keep .editorconfig in sync with .gitattributes Our repo already contained an .editorconfig file, but it was not kept up to date with .gitattributes. This adds a script that keeps these files in sync. A big advantage of the editorconfig file is that it many editors/IDEs get automati

pgsql: Rename GistTranslateStratnum() to GistTranslateCompareType()

2025-02-01 Thread Peter Eisentraut
Rename GistTranslateStratnum() to GistTranslateCompareType() Follow up to commit 630f9a43cec. The previous name had become confusing, because it doesn't actually translate a strategy number but a CompareType into a strategy number. We might add the inverse at some point, which would then probabl

pgsql: Add get_opfamily_name() function

2025-02-01 Thread Peter Eisentraut
Add get_opfamily_name() function This refactors and simplifies various existing code to make use of the new function. Reviewed-by: Mark Dilger Discussion: https://www.postgresql.org/message-id/flat/e72eaa49-354d-4c2e-8eb9-255197f55...@enterprisedb.com Branch -- master Details --- http