Re: [GENERAL] Shared Objects (Dynamic loading) - Mailing list pgsql-novice

From Tom Lane
Subject Re: [GENERAL] Shared Objects (Dynamic loading)
Date
Msg-id 6020.1156783506@sss.pgh.pa.us
Whole thread Raw
In response to Re: [GENERAL] Shared Objects (Dynamic loading)  ("Jasbinder Bali" <jsbali@gmail.com>)
List pgsql-novice
"Jasbinder Bali" <jsbali@gmail.com> writes:
> Also, when i say LOAD 'parser' where parser.so is the shared object i've
> loaded dynamically
> using CREATE FUNCTION, its says
> ERROR:  could not access file "parser": No such file or directory
> Why would it give me this error?

Probably because you didn't give it a path to the file.  You need either
an absolute path or something involving the special symbol $libdir.
This is not different from what's required in CREATE FUNCTION.

            regards, tom lane

pgsql-novice by date:

Previous
From: "Jasbinder Bali"
Date:
Subject: Re: [GENERAL] Shared Objects (Dynamic loading)
Next
From: "Jasbinder Bali"
Date:
Subject: Re: [GENERAL] Shared Objects (Dynamic loading)