mirror of
https://github.com/postgres/postgres.git
synced 2026-04-28 09:38:27 -04:00
Commita2e35b53c3added an #include of catalog/objectaddress.h to pg_operator.h, making it impossible for client-side code to #include pg_operator.h. It's not entirely clear whether any client-side code needs to include pg_operator.h, but it seems prudent to assume that there is some such code somewhere. Therefore, split off the function definitions into a new file pg_operator_fn.h, similarly to what we've done for some other catalog header files. Back-patch of part of commit0dab5ef39b.
32 lines
873 B
C
32 lines
873 B
C
/*-------------------------------------------------------------------------
|
|
*
|
|
* pg_operator_fn.h
|
|
* prototypes for functions in catalog/pg_operator.c
|
|
*
|
|
*
|
|
* Portions Copyright (c) 1996-2015, PostgreSQL Global Development Group
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
|
*
|
|
* src/include/catalog/pg_operator_fn.h
|
|
*
|
|
*-------------------------------------------------------------------------
|
|
*/
|
|
#ifndef PG_OPERATOR_FN_H
|
|
#define PG_OPERATOR_FN_H
|
|
|
|
#include "catalog/objectaddress.h"
|
|
#include "nodes/pg_list.h"
|
|
|
|
extern ObjectAddress OperatorCreate(const char *operatorName,
|
|
Oid operatorNamespace,
|
|
Oid leftTypeId,
|
|
Oid rightTypeId,
|
|
Oid procedureId,
|
|
List *commutatorName,
|
|
List *negatorName,
|
|
Oid restrictionId,
|
|
Oid joinId,
|
|
bool canMerge,
|
|
bool canHash);
|
|
|
|
#endif /* PG_OPERATOR_FN_H */
|