Re: [PATCHES] Patch to fix plpython on OS X
От | Andrew Dunstan |
---|---|
Тема | Re: [PATCHES] Patch to fix plpython on OS X |
Дата | |
Msg-id | 1150.24.211.165.134.1122212442.squirrel@www.dunslane.net обсуждение исходный текст |
Ответ на | Re: [PATCHES] Patch to fix plpython on OS X (Michael Fuhr <mike@fuhr.org>) |
Ответы |
Re: [PATCHES] Patch to fix plpython on OS X
|
Список | pgsql-hackers |
Michael Fuhr said: > I just built Python 2.3 and it does indeed format the error differently > than later versions (the format appears to have changed in 2.3.1): > [snip] > I've attached two new files that should go in the plpython directory: > > resultmap > expected/plpython_error_py23.out > > A problem with this patch is that it assumes a version of Python > based on the OS, which might clean up the current buildfarm but > that isn't really correct. Is there a better way to handle this? This is completely unnecessary - pg_regress has an alternative result mechanism that doesn't rely on a resultmap file. Just name your alternative result file foo_n.out instead of foo.out, for some n in [0-9]. In this case, call it, say, plpython_error_1.out. Job done, and no OS dependence. cheers andrew
В списке pgsql-hackers по дате отправления: