hello,<div>I've patched rhn.jar... and now, I get an ISE:</div><div><p class="">Caused by: org.postgresql.util.PSQLException: ERROR:
column reference "name" is ambiguous</p></div><div class="gmail_extra">I'm on RHEL 5 with pgsql 8.4.</div><div class="gmail_extra">To patch rhn.jar, I've stopped spacewalk, unzipped rhn.jar, modified <span style="color:rgb(0,0,0);white-space:pre-wrap">Package_queries.xml file and ran jar -uf</span></div>
<div class="gmail_extra"><span style="color:rgb(0,0,0);white-space:pre-wrap"><br></span></div><div class="gmail_extra"><span style="color:rgb(0,0,0);white-space:pre-wrap">Pierre</span></div><div class="gmail_extra"><br><br>
<div class="gmail_quote">2012/12/4 Michael Mraka <span dir="ltr"><<a href="mailto:michael.mraka@redhat.com" target="_blank">michael.mraka@redhat.com</a>></span><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Pierre Casenove wrote:<br>
% Hello,<br>
% I can't find where the issue is. Could you please explain how I can debug<br>
<div class="im">% the sql query, to see why it doesn't find that the patch is indeed already<br>
% installed. As I don't understand the query, I don't know which table I<br>
% should check to try to find the bug.<br>
<br>
</div>Hello Pierre,<br>
<br>
I've spent some time investigating the query and ... simply it's wrong :).<br>
<br>
The fixed query is in the attachment. It isn't commited into master yet,<br>
I'd like to hear from you whether it works for you or not.<br>
<br>
You can download test packages at<br>
 RHEL6: <a href="http://koji.spacewalkproject.org/koji/taskinfo?taskID=117229" target="_blank">http://koji.spacewalkproject.org/koji/taskinfo?taskID=117229</a><br>
 RHEL5: <a href="http://koji.spacewalkproject.org/koji/taskinfo?taskID=117230" target="_blank">http://koji.spacewalkproject.org/koji/taskinfo?taskID=117230</a><br>
<br>
Regards,<br>
<br>
--<br>
Michael Mráka<br>
Satellite Engineering, Red Hat<br>
<br>
<br>
<br>
<br>
<br>_______________________________________________<br>
Spacewalk-list mailing list<br>
<a href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br></blockquote></div><br></div>