Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1T1JGt-0002SQ-I2 for pgsql-bugs@postgresql.org; Tue, 14 Aug 2012 15:43:07 +0000 Received: from smtp-out-01.xnet.hr ([83.139.103.71] helo=smtp.xnet.hr) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1T1JGn-00010Y-5L for pgsql-bugs@postgresql.org; Tue, 14 Aug 2012 15:43:07 +0000 Received: from ike.bnet.hr (ike.bnet.hr [83.139.80.4]) by smtp.xnet.hr (XnetMailOut) with ESMTP id 7D1F74881B; Tue, 14 Aug 2012 17:42:59 +0200 (CEST) Received: from smtp.xnet.hr ([83.139.103.71]) by ike.bnet.hr (avcleaner-b.mx.xnet.hr [83.139.80.4]) (XNet AV Scanner, port 10026) with ESMTP id mlVXKIuMwdqI; Tue, 14 Aug 2012 17:42:51 +0200 (CEST) Received: from [94.253.131.122] (cpezg-94-253-131-122-cbl.xnet.hr [94.253.131.122]) by smtp.xnet.hr (XnetMailOut) with ESMTP id 862E848634; Tue, 14 Aug 2012 17:42:48 +0200 (CEST) Message-ID: <502A71F8.9010104@zg.htnet.hr> Date: Tue, 14 Aug 2012 17:42:48 +0200 From: Rikard Pavelic User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: pgsql-bugs CC: Craig Ringer Subject: Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows References: <50224DDA.5090900@ringerc.id.au> In-Reply-To: <50224DDA.5090900@ringerc.id.au> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201208/79 X-Sequence-Number: 33803 On 8.8.2012. 13:30, Craig Ringer wrote: > On 08/08/2012 06:24 PM, rikard.pavelic@zg.htnet.hr wrote: >> The following bug has been logged on the website: >> >> Bug reference: 7485 >> Logged by: Rikard Pavelic >> Email address: rikard.pavelic@zg.htnet.hr >> PostgreSQL version: Unsupported/Unknown >> Operating system: Windows >> Description: >> >> This is still an issue as reported in >> http://archives.postgresql.org/pgsql-bugs/2012-05/msg00231.php >> >> While on topic of XML is there any workaround for this? >> CREATE TABLE data (id int, x xml); >> SELECT t FROM data t GROUP BY t; >> >> I'm not really sure what operator to create. I'm fine with xml being >> compared like text > Your report confuses me somewhat. You've linked to an issue that is extremely specific to one particular PostgreSQL version without providing the version you are using or details about your OS. You > then mention the need to create an operator, which seems to have nothing to do with the problem you linked to. > > Please follow up with: > > - Your PostgreSQL version I've put it in the subject, because version selector didn't have it (9.2 beta3) > - How you installed PostgeSQL (ie the EnterpriseDB installer, from source, .zip install) I've used EnterpriseDB installer (9.2 beta2 with this bug, and now 9.2 beta3) > - The error message you are getting and the command(s) that cause it ERROR: could not set up XML error handler SQL state: 0A000 Hint: This probably indicates that the version of libxml2 being used is not compatible with the libxml2 header files that PostgreSQL was built with. I'm calling function with type that has an XML attribute. I can provide a test case, but since this is just a warning of the old bug I didn't. > - A description of the problem you are having It doesn't work :D The other question I asked should probably be a second bug report, but I tried and failed to squeeze it into this one ;( Regards, Rikard