Re: [HACKERS] Build Farm: thrush
Gaetano Mendola [EMAIL PROTECTED] writes: I'm the administrator of that machine and PLCheck is failing. Is there anything I can do to fix it ? What version of Python have you got on that thing? It seems to be emitting still another spelling of the encoding error message :-( regards, tom lane ---(end of broadcast)--- TIP 1: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly
Re: [HACKERS] Build Farm: thrush
Tom Lane wrote: Gaetano Mendola [EMAIL PROTECTED] writes: I'm the administrator of that machine and PLCheck is failing. Is there anything I can do to fix it ? What version of Python have you got on that thing? It seems to be emitting still another spelling of the encoding error message :-( $ python -V Python 2.2.3 Regards Gaetano Mendola ---(end of broadcast)--- TIP 6: explain analyze is your friend
Re: [HACKERS] Build Farm: thrush
On Mon, Oct 03, 2005 at 05:19:43PM +0200, Gaetano Mendola wrote: Tom Lane wrote: Gaetano Mendola [EMAIL PROTECTED] writes: I'm the administrator of that machine and PLCheck is failing. Is there anything I can do to fix it ? What version of Python have you got on that thing? It seems to be emitting still another spelling of the encoding error message :-( $ python -V Python 2.2.3 The attached variant file (plpython_error_2.out) should allow this Python version's wording of the error message. -- Michael Fuhr -- test error handling, i forgot to restore Warn_restart in -- the trigger handler once. the errors and subsequent core dump were -- interesting. SELECT invalid_type_uncaught('rick'); WARNING: plpython: in function invalid_type_uncaught: DETAIL: plpy.SPIError: Unknown error in PLy_spi_prepare ERROR: type test does not exist SELECT invalid_type_caught('rick'); WARNING: plpython: in function invalid_type_caught: DETAIL: plpy.SPIError: Unknown error in PLy_spi_prepare ERROR: type test does not exist SELECT invalid_type_reraised('rick'); WARNING: plpython: in function invalid_type_reraised: DETAIL: plpy.SPIError: Unknown error in PLy_spi_prepare ERROR: type test does not exist SELECT valid_type('rick'); valid_type (1 row) -- -- Test Unicode error handling. -- SELECT unicode_return_error(); ERROR: plpython: function unicode_return_error could not create return value DETAIL: exceptions.UnicodeError: ASCII encoding error: ordinal not in range(128) INSERT INTO unicode_test (testvalue) VALUES ('test'); ERROR: plpython: function unicode_trigger_error could not modify tuple DETAIL: exceptions.UnicodeError: ASCII encoding error: ordinal not in range(128) SELECT unicode_plan_error1(); WARNING: plpython: in function unicode_plan_error1: DETAIL: plpy.Error: Unknown error in PLy_spi_execute_plan ERROR: plpython: function unicode_plan_error1 could not execute plan DETAIL: exceptions.UnicodeError: ASCII encoding error: ordinal not in range(128) SELECT unicode_plan_error2(); ERROR: plpython: function unicode_plan_error2 could not execute plan DETAIL: exceptions.UnicodeError: ASCII encoding error: ordinal not in range(128) ---(end of broadcast)--- TIP 2: Don't 'kill -9' the postmaster
Re: [HACKERS] Build Farm: thrush
Michael Fuhr [EMAIL PROTECTED] writes: On Mon, Oct 03, 2005 at 05:19:43PM +0200, Gaetano Mendola wrote: What version of Python have you got on that thing? It seems to be emitting still another spelling of the encoding error message :-( $ python -V Python 2.2.3 The attached variant file (plpython_error_2.out) should allow this Python version's wording of the error message. Applied, thanks. regards, tom lane ---(end of broadcast)--- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq