Lists: | pgsql-bugspgsql-hackers-win32 |
---|
From: | "Luciano - UNILOG SA" <luciano(at)unilogsa(dot)com(dot)br> |
---|---|
To: | <pgsql-bugs(at)postgresql(dot)org> |
Subject: | PLTCL |
Date: | 2004-11-29 17:08:06 |
Message-ID: | 000801c4d635$fe752f80$0216a8c0@lucianoinforma |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-bugs pgsql-hackers-win32 |
Hello
I'm trying to create a new language in my database (pg 8 beta5 - Windows Xp) and the error message show me.
C:\Arquivos de programas\PostgreSQL\8.0.0-beta5\bin>createlang.exe pltcl -d supremus -h localhost -U administrador
Password:
createlang: language installation failed: ERROR: could not load library "C:/Arquivos de programas/PostgreSQL/8.0.0-beta5/lib/pltcl.dll": error
What the problem ?
The pg8 for windows beta5 don't have support to this language type ?
Tks
staing....
Luciano Almeida
SC - BRAZIL
From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | "Luciano - UNILOG SA" <luciano(at)unilogsa(dot)com(dot)br> |
Cc: | pgsql-bugs(at)postgresql(dot)org, pgsql-hackers-win32(at)postgresql(dot)org |
Subject: | Re: PLTCL |
Date: | 2004-11-29 19:34:05 |
Message-ID: | 21407.1101756845@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-bugs pgsql-hackers-win32 |
"Luciano - UNILOG SA" <luciano(at)unilogsa(dot)com(dot)br> writes:
> createlang: language installation failed: ERROR: could not load library =
> "C:/Arquivos de programas/PostgreSQL/8.0.0-beta5/lib/pltcl.dll": error
> What the problem ?
Good question. The unhelpful error message can evidently be blamed on
this routine in src/backend/port/dynloader/win32.c:
char *
dlerror(void)
{
return "error";
}
Would someone work on providing a non-stub version of that?
regards, tom lane
From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Luciano - UNILOG SA <luciano(at)unilogsa(dot)com(dot)br>, pgsql-bugs(at)postgresql(dot)org, pgsql-hackers-win32(at)postgresql(dot)org |
Subject: | Re: [pgsql-hackers-win32] PLTCL |
Date: | 2004-12-02 19:39:12 |
Message-ID: | 200412021939.iB2JdCe11183@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-bugs pgsql-hackers-win32 |
OK, I updated the error message to be:
return "dynamic load error";
and added a TODO item for Win32:
o Improve dlerror() reporting string
---------------------------------------------------------------------------
Tom Lane wrote:
> "Luciano - UNILOG SA" <luciano(at)unilogsa(dot)com(dot)br> writes:
> > createlang: language installation failed: ERROR: could not load library =
> > "C:/Arquivos de programas/PostgreSQL/8.0.0-beta5/lib/pltcl.dll": error
>
> > What the problem ?
>
> Good question. The unhelpful error message can evidently be blamed on
> this routine in src/backend/port/dynloader/win32.c:
>
> char *
> dlerror(void)
> {
> return "error";
> }
>
> Would someone work on providing a non-stub version of that?
>
> regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 8: explain analyze is your friend
>
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073