Re: [pgsql-hackers-win32] PLTCL - Mailing list pgsql-bugs

From Bruce Momjian
Subject Re: [pgsql-hackers-win32] PLTCL
Date
Msg-id 200412021939.iB2JdCe11183@candle.pha.pa.us
Whole thread Raw
In response to Re: PLTCL  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
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

pgsql-bugs by date:

Previous
From: postgresbugs
Date:
Subject: Re: Foreign keys referencing parent table fails on insert
Next
From: Kenneth Marshall
Date:
Subject: pg_autovacuum getopt bun in 8.0.0beta5