[SQL] Re: [DOCS] Extending PostgreSQL Using C

2001-03-12 Thread Hannu Krosing
Boulat Khakimov wrote: > Hi, > > Im writing a C function for PG to do one way encryption using crypt. > Here is the source code > > it gives me this error > > ERROR: Can't find function encrypt in file /[full path here]/encrypt.so > > > Why do I get this error > Any ideas? Can _postg

[SQL] Re: [DOCS] Extending PostgreSQL Using C

2001-03-12 Thread Nishad Prakash
On Wed, 7 Mar 2001, Tom Lane wrote: > Hannu Krosing <[EMAIL PROTECTED]> writes: > > Boulat Khakimov wrote: > >> ERROR: Can't find function encrypt in file /[full path here]/encrypt.so > > > Can _postgres_ user read /[full path here]/encrypt.so ? > > Presumably so. If he were unable to load the

[SQL] Re: [DOCS] Extending PostgreSQL Using C

2001-03-07 Thread Tom Lane
Hannu Krosing <[EMAIL PROTECTED]> writes: > Boulat Khakimov wrote: >> ERROR: Can't find function encrypt in file /[full path here]/encrypt.so > Can _postgres_ user read /[full path here]/encrypt.so ? Presumably so. If he were unable to load the .so file, he'd be getting a different error mess

[SQL] Re: [DOCS] Extending PostgreSQL Using C

2001-03-05 Thread Boulat Khakimov
Tom Lane wrote: > > Boulat Khakimov <[EMAIL PROTECTED]> writes: > > ERROR: Can't find function encrypt in file /[full path here]/encrypt.so > > Why do I get this error > > Offhand I see nothing wrong with your procedure. Try running 'nm' on > the .so file to see what symbols it says the .s

[SQL] Re: [DOCS] Extending PostgreSQL Using C

2001-03-05 Thread Tom Lane
Boulat Khakimov <[EMAIL PROTECTED]> writes: > ERROR: Can't find function encrypt in file /[full path here]/encrypt.so > Why do I get this error Offhand I see nothing wrong with your procedure. Try running 'nm' on the .so file to see what symbols it says the .so defines. What platform is t