On 4/3/07, Bruce Momjian <[EMAIL PROTECTED]> wrote:
Great, patch applied and TODO item removed.
If you are already patching, please apply the following patch also. It removes last remaining casts inside struct definitions. Such usage is bad practice, as it hides problems from compiler. Reason for the cast is popular practice in some circles to define functions as foo(MyObj *) instead of foo(PyObject *) thus avoiding a local variable inside functions and make direct calling easier. As pl/python does not use such style, the casts were unnecessary from the start. -- marko
plpy-uglycasts.diff
Description: Binary data
---------------------------(end of broadcast)--------------------------- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match