mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
Fix executor/spi.h to follow our usual conventions for include files, ie,
not include postgres.h nor anything else it doesn't directly need. Add #includes to calling files as needed to compensate. Per my proposal of yesterday. This should be noted as a source code change in the 8.4 release notes, since it's likely to require changes in add-on modules.
This commit is contained in:
@ -1,16 +1,17 @@
|
||||
/*
|
||||
* $PostgreSQL: pgsql/contrib/spi/refint.c,v 1.33 2008/05/17 01:28:22 adunstan Exp $
|
||||
* $PostgreSQL: pgsql/contrib/spi/refint.c,v 1.34 2009/01/07 13:44:36 tgl Exp $
|
||||
*
|
||||
*
|
||||
* refint.c -- set of functions to define referential integrity
|
||||
* constraints using general triggers.
|
||||
*/
|
||||
#include "postgres.h"
|
||||
|
||||
#include "executor/spi.h" /* this is what you need to work with SPI */
|
||||
|
||||
#include "commands/trigger.h" /* -"- and triggers */
|
||||
#include <ctype.h>
|
||||
|
||||
#include "commands/trigger.h"
|
||||
#include "executor/spi.h"
|
||||
#include "utils/builtins.h"
|
||||
|
||||
PG_MODULE_MAGIC;
|
||||
|
||||
|
Reference in New Issue
Block a user