| 1 | /*------------------------------------------------------------------------- |
| 2 | * |
| 3 | * pg_transform.h |
| 4 | * definition of the "transform" system catalog (pg_transform) |
| 5 | * |
| 6 | * |
| 7 | * Portions Copyright (c) 1996-2019, PostgreSQL Global Development Group |
| 8 | * Portions Copyright (c) 1994, Regents of the University of California |
| 9 | * |
| 10 | * src/include/catalog/pg_transform.h |
| 11 | * |
| 12 | * NOTES |
| 13 | * The Catalog.pm module reads this file and derives schema |
| 14 | * information. |
| 15 | * |
| 16 | *------------------------------------------------------------------------- |
| 17 | */ |
| 18 | #ifndef PG_TRANSFORM_H |
| 19 | #define PG_TRANSFORM_H |
| 20 | |
| 21 | #include "catalog/genbki.h" |
| 22 | #include "catalog/pg_transform_d.h" |
| 23 | |
| 24 | /* ---------------- |
| 25 | * pg_transform definition. cpp turns this into |
| 26 | * typedef struct FormData_pg_transform |
| 27 | * ---------------- |
| 28 | */ |
| 29 | CATALOG(pg_transform,3576,TransformRelationId) |
| 30 | { |
| 31 | Oid oid; /* oid */ |
| 32 | Oid trftype; |
| 33 | Oid trflang; |
| 34 | regproc trffromsql; |
| 35 | regproc trftosql; |
| 36 | } FormData_pg_transform; |
| 37 | |
| 38 | /* ---------------- |
| 39 | * Form_pg_transform corresponds to a pointer to a tuple with |
| 40 | * the format of pg_transform relation. |
| 41 | * ---------------- |
| 42 | */ |
| 43 | typedef FormData_pg_transform *Form_pg_transform; |
| 44 | |
| 45 | #endif /* PG_TRANSFORM_H */ |
| 46 | |