From 36fb5e7c0fcab8f6342901469b3d8bb376c552eb Mon Sep 17 00:00:00 2001 From: Alper Kocatas Date: Wed, 2 Apr 2025 16:33:37 +0000 Subject: [PATCH] Fix whitespace --- CONTRIBUTING.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 31b11af81..e8e66cbca 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -248,21 +248,21 @@ Any other SQL you can put directly in the main sql file, e.g. 8. After the tests pass on CI, fast-forward the release branch `git push origin release-11.3-:release-11.3` ### Deprecating features -Udf's and other API functions can be deprecated using the following mechanism: +Udf's and other API functions can be deprecated using the following mechanism: #### 1. Update the docs and mark the related function as "deprecated" -Update the related documentation about the function/udf and indicate that the function has been deprecated. -Additionally, add the name of the function to the "Deprecated features" section of release notes. +Update the related documentation about the function/udf and indicate that the function has been deprecated. +Additionally, add the name of the function to the "Deprecated features" section of release notes. #### 2. Mark the function as deprecated and emit a warning from the implementation -Use `ereport(WARNING, ...)` to raise a warning when the function is used. Additionally, add the keyword `` to the related comments. +Use `ereport(WARNING, ...)` to raise a warning when the function is used. Additionally, add the keyword `` to the related comments. -Example: +Example: ``` /* * * master_get_active_worker_nodes is a wrapper function for old UDF name. */ -Datum +Datum master_get_active_worker_nodes(PG_FUNCTION_ARGS) { if (SRF_IS_FIRSTCALL())