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@unilogsa.com.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@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073