Thread: Suggestion for dynloader.c

Suggestion for dynloader.c

From
"Dann Corbit"
Date:
Include prototypes at the top of the file:
 
extern char    *dlerror(void);
extern int      dlclose(void *);
extern void    *dlsym(void *, const char *);
extern void    *dlopen(const char *, int);
 

Re: Suggestion for dynloader.c

From
"Dann Corbit"
Date:
Include the file:
src\backend\port\dynloader\win32.h
in dynloader.c
 
Possibly with #ifdef for OS type, if that is needed.
-----Original Message-----
From: pgsql-hackers-owner@postgresql.org [mailto:pgsql-hackers-owner@postgresql.org] On Behalf Of Dann Corbit
Sent: Wednesday, September 01, 2004 1:10 PM
To: PostgreSQL-development
Subject: [HACKERS] Suggestion for dynloader.c

Include prototypes at the top of the file:
 
extern char    *dlerror(void);
extern int      dlclose(void *);
extern void    *dlsym(void *, const char *);
extern void    *dlopen(const char *, int);
 

Re: Suggestion for dynloader.c

From
Bruce Momjian
Date:
You are going to have to give us more information than that?  Why do it?
Do what exactly?  Patch?

---------------------------------------------------------------------------

Dann Corbit wrote:
> Include the file:
> src\backend\port\dynloader\win32.h
> in dynloader.c
>  
> Possibly with #ifdef for OS type, if that is needed.
> 
>     -----Original Message-----
>     From: pgsql-hackers-owner@postgresql.org
> [mailto:pgsql-hackers-owner@postgresql.org] On Behalf Of Dann Corbit
>     Sent: Wednesday, September 01, 2004 1:10 PM
>     To: PostgreSQL-development
>     Subject: [HACKERS] Suggestion for dynloader.c
>     
>     
>     Include prototypes at the top of the file:
>      
>     extern char    *dlerror(void);
>     extern int      dlclose(void *);
>     extern void    *dlsym(void *, const char *);
>     extern void    *dlopen(const char *, int);
>      
> 

--  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,
Pennsylvania19073