diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2023-11-28 18:29:18 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2023-11-28 18:29:18 +0300 |
commit | 855efb94214cc519805de89934d82bc5e0f92685 (patch) | |
tree | d8f5f741d46dbcb800bd2026bd8fd8f0d72a25e6 /psql/psql/downstream/catalog/pg_am_d.h | |
parent | 646a9f3410dab150e0c7871273d4982fa5c132e9 (diff) |
Add psql package.
Don't compile port/strlcpy.c on Linux if GNU libc is 2.38 or newer.
Switch to using -pthread instead of -D_REENTRANT/-lpthread in buildfiles and bump build2 version requirement to 0.15.0.
Diffstat (limited to 'psql/psql/downstream/catalog/pg_am_d.h')
-rw-r--r-- | psql/psql/downstream/catalog/pg_am_d.h | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/psql/psql/downstream/catalog/pg_am_d.h b/psql/psql/downstream/catalog/pg_am_d.h new file mode 100644 index 0000000..6dad066 --- /dev/null +++ b/psql/psql/downstream/catalog/pg_am_d.h @@ -0,0 +1,45 @@ +/*------------------------------------------------------------------------- + * + * pg_am_d.h + * Macro definitions for pg_am + * + * Portions Copyright (c) 1996-2021, PostgreSQL Global Development Group + * Portions Copyright (c) 1994, Regents of the University of California + * + * NOTES + * ****************************** + * *** DO NOT EDIT THIS FILE! *** + * ****************************** + * + * It has been GENERATED by src/backend/catalog/genbki.pl + * + *------------------------------------------------------------------------- + */ +#ifndef PG_AM_D_H +#define PG_AM_D_H + +#define AccessMethodRelationId 2601 + +#define Anum_pg_am_oid 1 +#define Anum_pg_am_amname 2 +#define Anum_pg_am_amhandler 3 +#define Anum_pg_am_amtype 4 + +#define Natts_pg_am 4 + + +/* + * Allowed values for amtype + */ +#define AMTYPE_INDEX 'i' /* index access method */ +#define AMTYPE_TABLE 't' /* table access method */ + +#define HEAP_TABLE_AM_OID 2 +#define BTREE_AM_OID 403 +#define HASH_AM_OID 405 +#define GIST_AM_OID 783 +#define GIN_AM_OID 2742 +#define SPGIST_AM_OID 4000 +#define BRIN_AM_OID 3580 + +#endif /* PG_AM_D_H */ |