Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id 5CBFD98F705 for ; Tue, 5 Jun 2012 14:00:23 -0300 (ADT) Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Sbx7E-0003NB-Nl for pgsql-performance@postgresql.org; Tue, 05 Jun 2012 17:00:22 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id q55H07ug003564; Tue, 5 Jun 2012 13:00:07 -0400 (EDT) To: Alejandro Carrillo cc: "pgsql-performance@postgresql.org" Subject: Re: Missing block Magic In-reply-to: <1338912754.27056.YahooMailNeo@web171003.mail.ukl.yahoo.com> References: <1338912754.27056.YahooMailNeo@web171003.mail.ukl.yahoo.com> Comments: In-reply-to Alejandro Carrillo message dated "Tue, 05 Jun 2012 17:12:34 +0100" Date: Tue, 05 Jun 2012 13:00:07 -0400 Message-ID: <3563.1338915607@sss.pgh.pa.us> From: Tom Lane X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201206/25 X-Sequence-Number: 47051 Alejandro Carrillo writes: > ERROR:  biblioteca «C:\Documents and Settings\Administrador\Escritorio\test\test.dll» incompatible: no se encuentra el bloque mágico > HINT:  Se requiere que las bibliotecas de extensión usen la macro PG_MODULE_MAGIC. [ scratches head ... ] Your source code looks fine. Are you sure you are pointing to the right copy of the .dll file? If you added the PG_MODULE_MAGIC; line after getting this error, it's likely that the old version of the .dll is already loaded into the server's memory, in which case what you need to do to get rid of it is to restart the server, or at least start a fresh session. regards, tom lane