agora inbox for pljava-dev@postgresql.org
help / color / mirror / Atom feedSubject: [Pljava-dev] Windows binaries
Date: Sun, 23 Jan 2011 13:59:25 -0800
Message-ID: <4D3CA4BD.3010206@gmail.com> (raw)
In-Reply-To: <op.vpr0nfoauxs6vk@asuka>
References: <C1A6B6FC8196CF43B9B4D0D2C63BFA5A18C4E39967@SPR3V9.office.local>
<4D3A3076.4070905@gmail.com>
<op.vporvh2cuxs6vk@asuka>
<COL116-W28471A0A9040F98339CD80D3FB0@phx.gbl>
<4D3C6777.10708@gmail.com>
<op.vprvlq0cuxs6vk@asuka>
<4D3C6B11.3010706@gmail.com>
<op.vprv75equxs6vk@asuka>
<4D3C6F68.9060304@gmail.com>
<op.vprxbo05uxs6vk@asuka>
<4D3C7606.5080205@gmail.com>
<op.vpryofceuxs6vk@asuka>
<4D3C7E10.7080906@gmail.com>
<op.vpr0nfoauxs6vk@asuka>
On 2011-01-23 11:34 AM, Johann 'Myrkraverk' Oskarsson wrote:
> On Sun, 23 Jan 2011 19:14:24 -0000, Eric Kolotyluk
> <eric.kolotyluk at gmail.com> wrote:
>
>> I stopped and started the server. Here is what I put in the .config file
>>
>> dynamic_library_path = '$libdir;c:\postgres'
>
> Perhaps you can try 'C:\postgres;$libdir' instead? Your original
> setting looks alright when compared to
>
> http://www.postgresql.org/docs/9.0/interactive/runtime-config-client.html#RUNTIME-CONFIG-CLIENT-OTHE...
>
>
>> "dynamic_library_path" is not an absolute path
>
> If you keep getting this error it may be a bug in the server/binary
> you're using. I don't know.
>
> And if it keeps failing, you can try replacing the two lines that look
> like
>
> RETURNS language_handler AS 'pljava'
>
> to
> RETURNS language_handler AS 'C:\postgres\pljava.dll'
>
> or your relevant full path in install.sql.
>
So, when I use
dynamic_library_path = 'C:\postgres;$libdir
I get the same
psql:install.sql:6: ERROR: component in parameter
"dynamic_library_path" is not an absolute path
When I try using
RETURNS language_handler AS 'C:\\postgres\\pljava.dll'
I get
psql:install.sql:6: WARNING: nonstandard use of \\ in a string literal
LINE 2: RETURNS language_handler AS 'C:\\postgres\\pljava.dll'
^
HINT: Use the escape string syntax for backslashes, e.g., E'\\'.
psql:install.sql:6: ERROR: could not load library
"C:\postgres\pljava.dll": The
specified module could not be found.
Now this is just getting plain silly. A message telling me to use the
escape string syntax for backslashes when I am already doing that. Now
to me this is clearly a bug in someone's code.
Is it common to have this much trouble getting pljava working?
Cheers, Eric
view thread (42+ messages) latest in thread
Message-ID: <4D3CA4BD.3010206@gmail.com>
Permalink: ../4D3CA4BD.3010206@gmail.com/
Also on: postgresql.org/message-id/4D3CA4BD.3010206@gmail.com
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pljava-dev@postgresql.org
Subject: Re: [Pljava-dev] Windows binaries
In-Reply-To: <4D3CA4BD.3010206@gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox