| 1 | /*------------------------------------------------------------------------- |
| 2 | * |
| 3 | * pg_ts_config.h |
| 4 | * definition of the "text search configuration" system catalog |
| 5 | * (pg_ts_config) |
| 6 | * |
| 7 | * |
| 8 | * Portions Copyright (c) 1996-2019, PostgreSQL Global Development Group |
| 9 | * Portions Copyright (c) 1994, Regents of the University of California |
| 10 | * |
| 11 | * src/include/catalog/pg_ts_config.h |
| 12 | * |
| 13 | * NOTES |
| 14 | * The Catalog.pm module reads this file and derives schema |
| 15 | * information. |
| 16 | * |
| 17 | *------------------------------------------------------------------------- |
| 18 | */ |
| 19 | #ifndef PG_TS_CONFIG_H |
| 20 | #define PG_TS_CONFIG_H |
| 21 | |
| 22 | #include "catalog/genbki.h" |
| 23 | #include "catalog/pg_ts_config_d.h" |
| 24 | |
| 25 | /* ---------------- |
| 26 | * pg_ts_config definition. cpp turns this into |
| 27 | * typedef struct FormData_pg_ts_config |
| 28 | * ---------------- |
| 29 | */ |
| 30 | CATALOG(pg_ts_config,3602,TSConfigRelationId) |
| 31 | { |
| 32 | /* oid */ |
| 33 | Oid oid; |
| 34 | |
| 35 | /* name of configuration */ |
| 36 | NameData cfgname; |
| 37 | |
| 38 | /* name space */ |
| 39 | Oid cfgnamespace BKI_DEFAULT(PGNSP); |
| 40 | |
| 41 | /* owner */ |
| 42 | Oid cfgowner BKI_DEFAULT(PGUID); |
| 43 | |
| 44 | /* OID of parser */ |
| 45 | Oid cfgparser BKI_LOOKUP(pg_ts_parser); |
| 46 | } FormData_pg_ts_config; |
| 47 | |
| 48 | typedef FormData_pg_ts_config *Form_pg_ts_config; |
| 49 | |
| 50 | #endif /* PG_TS_CONFIG_H */ |
| 51 | |