Re: Cluster.pm psql() undefined $$stderr

2025-06-27 Thread Andrew Dunstan
On 2025-06-16 Mo 12:23 AM, Oleg Tselebrovskiy wrote: I think we need to do something slightly earlier than that. Attached is what I propose. I agree, my patch could miss one case with undefined $$stderr. Fixed my patch with your suggestion I don't think we need your test script, and it l

Re: Cluster.pm psql() undefined $$stderr

2025-06-15 Thread Oleg Tselebrovskiy
I think we need to do something slightly earlier than that. Attached is what I propose. I agree, my patch could miss one case with undefined $$stderr. Fixed my patch with your suggestion I think the short answer is no, we've already hijacked STDOUT/STDERR in Utils.pm to point to the log file,

Re: Cluster.pm psql() undefined $$stderr

2025-06-13 Thread Andrew Dunstan
On 2025-06-04 We 10:01 AM, Oleg Tselebrovskiy wrote: Greetings, everyone! If you call node->psql in not-array context, with on_error_die => 1, but without passing stderr, you will get the following error and the test will die, but not the way we expect: Use of uninitialized value in concat