mirror of
https://github.com/postgres/postgres.git
synced 2026-03-04 14:24:01 -05:00
key call sites are changed, but most called functions are still oldstyle. An exception is that the PL managers are updated (so, for example, NULL handling now behaves as expected in plperl and plpgsql functions). NOTE initdb is forced due to added column in pg_proc.
31 lines
795 B
C
31 lines
795 B
C
/*-------------------------------------------------------------------------
|
|
*
|
|
* dynamic_loader.h
|
|
*
|
|
*
|
|
*
|
|
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
|
*
|
|
* $Id: dynamic_loader.h,v 1.15 2000/05/28 17:56:20 tgl Exp $
|
|
*
|
|
*-------------------------------------------------------------------------
|
|
*/
|
|
#ifndef DYNAMIC_LOADER_H
|
|
#define DYNAMIC_LOADER_H
|
|
|
|
#include <sys/types.h>
|
|
|
|
/* we need this include because port files use them */
|
|
#include "postgres.h"
|
|
|
|
/* and this one for typedef PGFunction */
|
|
#include "fmgr.h"
|
|
|
|
|
|
extern void *pg_dlopen(char *filename);
|
|
extern PGFunction pg_dlsym(void *handle, char *funcname);
|
|
extern void pg_dlclose(void *handle);
|
|
extern char *pg_dlerror(void);
|
|
|
|
#endif /* DYNAMIC_LOADER_H */
|