v1-0001-plpython-Remove-commented-out-code.patch

text/plain

Filename: v1-0001-plpython-Remove-commented-out-code.patch
Type: text/plain
Part: 0
Message: PL/Python initialization cleanup
From d07fa3f6d7f729ca457a4db1060ef934fa5ba2ef Mon Sep 17 00:00:00 2001
From: Peter Eisentraut <peter@eisentraut.org>
Date: Tue, 30 Dec 2025 22:17:57 +0100
Subject: [PATCH v1 1/4] plpython: Remove commented out code

This code has been commented out since the first commit of plpython.
It doesn't seem worth keeping.
---
 src/pl/plpython/plpy_plpymodule.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/pl/plpython/plpy_plpymodule.c b/src/pl/plpython/plpy_plpymodule.c
index 89931612c5b..66781291519 100644
--- a/src/pl/plpython/plpy_plpymodule.c
+++ b/src/pl/plpython/plpy_plpymodule.c
@@ -153,8 +153,6 @@ PLy_init_plpy(void)
 
 	PyModule_Create(&PLy_module);
 
-	/* PyDict_SetItemString(plpy, "PlanType", (PyObject *) &PLy_PlanType); */
-
 	/*
 	 * initialize main module, and add plpy
 	 */

base-commit: ffdcc9c638eeb71d2e6990e27f91623736603b58
-- 
2.52.0