mirror of
https://github.com/postgres/postgres.git
synced 2025-11-13 16:22:44 +03:00
are now separate files "postgres.h" and "postgres_fe.h", which are meant to be the primary include files for backend .c files and frontend .c files respectively. By default, only include files meant for frontend use are installed into the installation include directory. There is a new make target 'make install-all-headers' that adds the whole content of the src/include tree to the installed fileset, for use by people who want to develop server-side code without keeping the complete source tree on hand. Cleaned up a whole lot of crufty and inconsistent header inclusions.
51 lines
899 B
C
51 lines
899 B
C
/*-------------------------------------------------------------------------
|
|
*
|
|
* dynloader.c
|
|
* dynamic loader for QNX4 using the shared library mechanism
|
|
*
|
|
* Copyright (c) 1999, repas AEG Automation GmbH
|
|
*
|
|
*
|
|
* IDENTIFICATION
|
|
* $Header: /cvsroot/pgsql/src/backend/port/dynloader/Attic/qnx4.c,v 1.3 2001/02/10 02:31:26 tgl Exp $
|
|
*
|
|
* NOTES
|
|
*
|
|
*-------------------------------------------------------------------------
|
|
*/
|
|
/* System includes */
|
|
/*
|
|
#include <stdio.h>
|
|
#include <a.out.h>
|
|
#include <dl.h>
|
|
*/
|
|
#include "postgres.h"
|
|
|
|
#include "utils/dynamic_loader.h"
|
|
#include "dynloader.h"
|
|
|
|
void *
|
|
pg_dlopen(char *filename)
|
|
{
|
|
return (void *) NULL;
|
|
}
|
|
|
|
PGFunction
|
|
pg_dlsym(void *handle, char *funcname)
|
|
{
|
|
return NULL;
|
|
}
|
|
|
|
void
|
|
pg_dlclose(void *handle)
|
|
{
|
|
}
|
|
|
|
char *
|
|
pg_dlerror()
|
|
{
|
|
static char errmsg[] = "Failed to load shared library due to lack of shared library support.";
|
|
|
|
return errmsg;
|
|
}
|