Re: [HACKERS] plpython attypmod broken in MODIFY trigger returns

2003-02-13 Thread Tom Lane
Bradley McLean [EMAIL PROTECTED] writes: Here's a patch that fixes my issue. I have not extensively developed tests for it. Patch applied, thanks! regards, tom lane ---(end of broadcast)--- TIP 4: Don't 'kill -9' the

[HACKERS] plpython attypmod broken in MODIFY trigger returns

2003-02-12 Thread Bradley McLean
In a plpython trigger, if you return MODIFY, the parsing of the TD[new] dictionary uses the wrong (c array) index to locate the atttypmod value, leading to subtle bugs dependent on the exact types, names, and order of fields in the table in question. (Types need to be those that use the typmod,