mirror of
https://github.com/postgres/postgres.git
synced 2025-06-13 07:41:39 +03:00
Magic blocks don't do us any good unless we use 'em ... so install one
in every shared library.
This commit is contained in:
@ -10,6 +10,8 @@
|
||||
#include "libpq/pqformat.h" /* needed for send/recv functions */
|
||||
|
||||
|
||||
PG_MODULE_MAGIC;
|
||||
|
||||
typedef struct Complex
|
||||
{
|
||||
double x;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $PostgreSQL: pgsql/src/tutorial/funcs_new.c,v 1.7 2006/03/11 04:38:42 momjian Exp $ */
|
||||
/* $PostgreSQL: pgsql/src/tutorial/funcs_new.c,v 1.8 2006/05/30 22:12:16 tgl Exp $ */
|
||||
|
||||
/******************************************************************************
|
||||
These are user-defined functions that can be bound to a Postgres backend
|
||||
@ -18,6 +18,8 @@
|
||||
#include "utils/geo_decls.h" /* for point type */
|
||||
|
||||
|
||||
PG_MODULE_MAGIC;
|
||||
|
||||
/* These prototypes just prevent possible warnings from gcc. */
|
||||
|
||||
Datum add_one(PG_FUNCTION_ARGS);
|
||||
|
Reference in New Issue
Block a user