| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | "Jasbinder Bali" <jsbali(at)gmail(dot)com> |
| Cc: | "Michael Fuhr" <mike(at)fuhr(dot)org>, pgsql-novice(at)postgresql(dot)org |
| Subject: | Re: [GENERAL] Shared Objects (Dynamic loading) |
| Date: | 2006-08-28 16:45:06 |
| Message-ID: | 6020.1156783506@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general pgsql-novice |
"Jasbinder Bali" <jsbali(at)gmail(dot)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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Harpreet Dhaliwal | 2006-08-28 17:27:04 | Re: Perl language creation failed |
| Previous Message | Jorge Godoy | 2006-08-28 16:37:59 | Re: Perl language creation failed |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Richmond Dyes | 2006-08-28 19:04:26 | Difference between char and varchar |
| Previous Message | Jasbinder Bali | 2006-08-28 15:52:26 | Re: [GENERAL] Shared Objects (Dynamic loading) |