text: /*-------------------------------------------------------------------------
   *
   * pg_foreign_data_wrapper.h
  <<<<<<< HEAD
   *	  definition of the system "foreign-data wrapper" relation (pg_foreign_data_wrapper)
   *	  along with the relation's initial contents.
   *
   *
   * Portions Copyright (c) 1996-2017, PostgreSQL Global Development Group
  =======
   *	  definition of the "foreign-data wrapper" system catalog (pg_foreign_data_wrapper)
   *
   *
   * Portions Copyright (c) 1996-2019, PostgreSQL Global Development Group
  >>>>>>> 0c13ee198f0d690765550fc1c694f9191e9785d6
   * Portions Copyright (c) 1994, Regents of the University of California
   *
   * src/include/catalog/pg_foreign_data_wrapper.h
   *
   * NOTES
  <<<<<<< HEAD
   *	  the genbki.pl script reads this file and generates .bki
   *	  information from the DATA() statements.
  =======
   *	  The Catalog.pm module reads this file and derives schema
   *	  information.
  >>>>>>> 0c13ee198f0d690765550fc1c694f9191e9785d6
   *
   *-------------------------------------------------------------------------
   */
  #ifndef PG_FOREIGN_DATA_WRAPPER_H
  #define PG_FOREIGN_DATA_WRAPPER_H
  
  #include "catalog/genbki.h"
  <<<<<<< HEAD
  =======
  #include "catalog/pg_foreign_data_wrapper_d.h"
  >>>>>>> 0c13ee198f0d690765550fc1c694f9191e9785d6
  
  /* ----------------
   *		pg_foreign_data_wrapper definition.  cpp turns this into
   *		typedef struct FormData_pg_foreign_data_wrapper
   * ----------------
   */
  <<<<<<< HEAD
  #define ForeignDataWrapperRelationId	2328
  
  CATALOG(pg_foreign_data_wrapper,2328)
  {
  =======
  CATALOG(pg_foreign_data_wrapper,2328,ForeignDataWrapperRelationId)
  {
  	Oid			oid;			/* oid */
  >>>>>>> 0c13ee198f0d690765550fc1c694f9191e9785d6
  	NameData	fdwname;		/* foreign-data wrapper name */
  	Oid			fdwowner;		/* FDW owner */
  	Oid			fdwhandler;		/* handler function, or 0 if none */
  	Oid			fdwvalidator;	/* option validation function, or 0 if none */
  
  #ifdef CATALOG_VARLEN			/* variable-length fields start here */
  	aclitem		fdwacl[1];		/* access permissions */
  	text		fdwoptions[1];	/* FDW options */
  #endif
  } FormData_pg_foreign_data_wrapper;
  
  /* ----------------
  <<<<<<< HEAD
   *		Form_pg_fdw corresponds to a pointer to a tuple with
   *		the format of pg_fdw relation.
  =======
   *		Form_pg_foreign_data_wrapper corresponds to a pointer to a tuple with
   *		the format of pg_foreign_data_wrapper relation.
  >>>>>>> 0c13ee198f0d690765550fc1c694f9191e9785d6
   * ----------------
   */
  typedef FormData_pg_foreign_data_wrapper *Form_pg_foreign_data_wrapper;
  
  <<<<<<< HEAD
  /* ----------------
   *		compiler constants for pg_fdw
   * ----------------
   */
  
  #define Natts_pg_foreign_data_wrapper				6
  #define Anum_pg_foreign_data_wrapper_fdwname		1
  #define Anum_pg_foreign_data_wrapper_fdwowner		2
  #define Anum_pg_foreign_data_wrapper_fdwhandler		3
  #define Anum_pg_foreign_data_wrapper_fdwvalidator	4
  #define Anum_pg_foreign_data_wrapper_fdwacl			5
  #define Anum_pg_foreign_data_wrapper_fdwoptions		6
  
  =======
  >>>>>>> 0c13ee198f0d690765550fc1c694f9191e9785d6
  #endif							/* PG_FOREIGN_DATA_WRAPPER_H */
  