]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
plpython: Remove commented out code
authorPeter Eisentraut <peter@eisentraut.org>
Thu, 15 Jan 2026 09:24:49 +0000 (10:24 +0100)
committerPeter Eisentraut <peter@eisentraut.org>
Thu, 15 Jan 2026 09:32:34 +0000 (10:32 +0100)
This code has been commented out since the first commit of plpython.
It doesn't seem worth keeping.

Reviewed-by: Chao Li <li.evan.chao@gmail.com>
Reviewed-by: Matheus Alcantara <matheusssilv97@gmail.com>
Reviewed-by: li carol <carol.li2025@outlook.com>
Reviewed-by: Kirill Reshke <reshkekirill@gmail.com>
Discussion: https://www.postgresql.org/message-id/f31333f1-fbb7-4098-b209-bf2d71fbd4f3%40eisentraut.org

src/pl/plpython/plpy_plpymodule.c

index 89931612c5b19b001fe8881d4d1367843895d196..667812915195c005be40966e50c1d9f6cc999101 100644 (file)
@@ -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
         */